Skip to content

Make sure one style is available at least

Akira TAGOH requested to merge tagoh/fontconfig:issue/259 into master

There is a case that no styles is available in FcPattern when no name table is available in a font. in such case, fontconfig will guess a family name from filename but didn't add a style. After the change that fullname is constructed from a combination of family and style, such fonts failed to perform.

This change fixes it.

Merge request reports