Bug 333126 Bold/Italic text isn't displayed as bold/italic with cairo-gtk2 build if the font is synthesis font. (only enable enbolden flag in cairo) r=vlad

This commit is contained in:
masayuki@d-toybox.com 2007-04-03 22:10:56 -07:00
Родитель 18822ac4a0
Коммит 13a164aaf2
3 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -7243,6 +7243,7 @@ if test "$MOZ_SVG" -o "$MOZ_ENABLE_CANVAS" -o "$MOZ_ENABLE_CAIRO_GFX" ; then
PS_SURFACE_FEATURE="#define CAIRO_HAS_PS_SURFACE 1"
PDF_SURFACE_FEATURE="#define CAIRO_HAS_PDF_SURFACE 1"
FT_FONT_FEATURE="#define CAIRO_HAS_FT_FONT 1"
FT_HAS_GS_EMBOLDEN="#define HAVE_FT_GLYPHSLOT_EMBOLDEN 1"
MOZ_ENABLE_CAIRO_FT=1
CAIRO_FT_CFLAGS="$FT2_CFLAGS"
fi
@ -7295,6 +7296,7 @@ if test "$MOZ_SVG" -o "$MOZ_ENABLE_CANVAS" -o "$MOZ_ENABLE_CAIRO_GFX" ; then
AC_SUBST(GLITZ_SURFACE_FEATURE)
AC_SUBST(DIRECTFB_SURFACE_FEATURE)
AC_SUBST(FT_FONT_FEATURE)
AC_SUBST(FT_HAS_GS_EMBOLDEN)
AC_SUBST(WIN32_FONT_FEATURE)
AC_SUBST(ATSUI_FONT_FEATURE)
AC_SUBST(PNG_FUNCTIONS_FEATURE)

Просмотреть файл

@ -81,6 +81,8 @@
@FT_FONT_FEATURE@
@FT_HAS_GS_EMBOLDEN@
@WIN32_FONT_FEATURE@
@ATSUI_FONT_FEATURE@

Просмотреть файл

@ -183,6 +183,7 @@ FREETYPE_CONFIG = @FREETYPE_CONFIG@
FREETYPE_LIBS = @FREETYPE_LIBS@
FREETYPE_REQUIRES = @FREETYPE_REQUIRES@
FT_FONT_FEATURE = @FT_FONT_FEATURE@
FT_HAS_GS_EMBOLDEN = @FT_HAS_GS_EMBOLDEN@
GLITZ_CFLAGS = @GLITZ_CFLAGS@
GLITZ_LIBS = @GLITZ_LIBS@
GLITZ_REQUIRES = @GLITZ_REQUIRES@