On Tue, Aug 5, 2008 at 7:22 AM, Behdad Esfahbod <behdad@xxxxxxxxxx> wrote: > > I have a couple of ideas: > > - Ban all Italic fonts so fontconfig does not see them at all. (may > use target=scan for this, not sure). This one is bad. Fonts have italic versions for a reason: some have different glyph shapes, which aren't simply oblique versions of the regular upright font. Also, some fonts like Latin Modern Serif even have an upright italic version. > - This one should be easier: > > * In target=pattern, copy the slant value to a temp variable (say, > saved_slant), > * In target=pattern reset slant to roman, > * In target=font, use saved_slant to decide whether to do artificial > slanting. > > HTH, > > -- > behdad > http://behdad.org/ > > "Those who would give up Essential Liberty to purchase a little > Temporary Safety, deserve neither Liberty nor Safety." > -- Benjamin Franklin, 1759 > > _______________________________________________ > Fontconfig mailing list > Fontconfig@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/fontconfig > > _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig