Handle oblique fonts; synthesize italic fonts when needed
authorKristian Rietveld <kris@gtk.org>
Sat, 6 Mar 2010 18:06:36 +0000 (19:06 +0100)
committerKristian Rietveld <kris@gtk.org>
Thu, 14 Apr 2011 10:30:03 +0000 (12:30 +0200)
commitb5efdc928f392c2ec47c206af3cbeddb986553a0
tree22059f819753c65f471b1b81820b8885c79a2e0a
parent76124c029f4262831f0c8eaca802b45179c407da
Handle oblique fonts; synthesize italic fonts when needed

Deduce from the given style name whether a font is oblique.  If a font
family does not have an italic or oblique variant, then add synthetic
italic variants that are handled by Pango.
pango/pangocairo-coretextfont.c
pango/pangocoretext-fontmap.c
pango/pangocoretext-private.h