Commit c4d3fef7 authored by Keith Packard's avatar Keith Packard
Browse files

Eliminate italic_angle check for PS fonts

parent a9829980
......@@ -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)
slant = FC_SLANT_ITALIC;
else if (psfontinfo.italic_angle >= 0)
slant = FC_SLANT_ROMAN;
#endif
if(!foundry)
foundry = FcNoticeFoundry(psfontinfo.notice);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment