Eliminate italic_angle check for PS fonts
This commit is contained in:
parent
a9829980e5
commit
c4d3fef747
|
@ -769,10 +769,16 @@ FcFreeTypeQuery (const FcChar8 *file,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
/*
|
||||||
|
* Don't bother with italic_angle; FreeType already extracts that
|
||||||
|
* information for us and sticks it into style_flags
|
||||||
|
*/
|
||||||
if (psfontinfo.italic_angle < 0)
|
if (psfontinfo.italic_angle < 0)
|
||||||
slant = FC_SLANT_ITALIC;
|
slant = FC_SLANT_ITALIC;
|
||||||
else if (psfontinfo.italic_angle >= 0)
|
else if (psfontinfo.italic_angle >= 0)
|
||||||
slant = FC_SLANT_ROMAN;
|
slant = FC_SLANT_ROMAN;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!foundry)
|
if(!foundry)
|
||||||
foundry = FcNoticeFoundry(psfontinfo.notice);
|
foundry = FcNoticeFoundry(psfontinfo.notice);
|
||||||
|
|
Loading…
Reference in New Issue