Merge pull request #1039 from blipvert/fixes/15

Fixed failure to set had_layer_cnt in SFD_GetFont()