diff options
author | marcus <marcus@FreeBSD.org> | 2002-06-01 18:57:17 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-06-01 18:57:17 +0000 |
commit | cd2c3010af005ec4e86e10238e688e6c168e77e3 (patch) | |
tree | 06d50195dd5d20c5fd198c28214cce9240b567ba /print/freetype2 | |
parent | d609ef69481cabdda717144169293526deea55a9 (diff) | |
download | FreeBSD-ports-cd2c3010af005ec4e86e10238e688e6c168e77e3.zip FreeBSD-ports-cd2c3010af005ec4e86e10238e688e6c168e77e3.tar.gz |
Fix a problem with font rendering in Nautilus and gdm2. This may also
correct an anti-alias font rendering problem in KDE 3.
Reported by: many
Diffstat (limited to 'print/freetype2')
-rw-r--r-- | print/freetype2/Makefile | 1 | ||||
-rw-r--r-- | print/freetype2/files/patch-include::freetype::config::ftoption.h | 16 | ||||
-rw-r--r-- | print/freetype2/files/patch-src::pcf::pcfdriver.c | 25 |
3 files changed, 37 insertions, 5 deletions
diff --git a/print/freetype2/Makefile b/print/freetype2/Makefile index 4bcf215..f998ccb 100644 --- a/print/freetype2/Makefile +++ b/print/freetype2/Makefile @@ -7,6 +7,7 @@ PORTNAME= freetype2 PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \ diff --git a/print/freetype2/files/patch-include::freetype::config::ftoption.h b/print/freetype2/files/patch-include::freetype::config::ftoption.h index 90d7c93..f77e6bb 100644 --- a/print/freetype2/files/patch-include::freetype::config::ftoption.h +++ b/print/freetype2/files/patch-include::freetype::config::ftoption.h @@ -1,8 +1,14 @@ - -$FreeBSD$ - ---- include/freetype/config/ftoption.h.orig Mon Jan 7 12:05:34 2002 -+++ include/freetype/config/ftoption.h Mon Jan 21 12:37:05 2002 +--- include/freetype/config/ftoption.h.orig Mon Apr 15 13:49:45 2002 ++++ include/freetype/config/ftoption.h Fri May 31 15:12:09 2002 +@@ -82,7 +82,7 @@ + /* */ + /* Define this if you want generic cmap support. */ + /* */ +-#define FT_CONFIG_OPTION_USE_CMAPS ++#undef FT_CONFIG_OPTION_USE_CMAPS + + + /*************************************************************************/ @@ -375,7 +375,7 @@ /* By undefining this, you will only compile the code necessary to load */ /* TrueType glyphs without hinting. */ diff --git a/print/freetype2/files/patch-src::pcf::pcfdriver.c b/print/freetype2/files/patch-src::pcf::pcfdriver.c new file mode 100644 index 0000000..bead67e --- /dev/null +++ b/print/freetype2/files/patch-src::pcf::pcfdriver.c @@ -0,0 +1,25 @@ +--- src/pcf/pcfdriver.c.orig Fri May 31 15:31:44 2002 ++++ src/pcf/pcfdriver.c Fri May 31 15:16:29 2002 +@@ -345,8 +345,8 @@ + #else /* !FT_CONFIG_OPTION_USE_CMAPS */ + + /* XXX: charmaps. For now, report unicode for Unicode and Latin 1 */ +- root->charmaps = &face->charmap_handle; +- root->num_charmaps = 1; ++ face->root.charmaps = &face->charmap_handle; ++ face->root.num_charmaps = 1; + + face->charmap.encoding = ft_encoding_none; + face->charmap.platform_id = 0; +@@ -359,9 +359,9 @@ + face->charmap.encoding_id = 1; + } + +- face->charmap.face = root; ++ face->charmap.face = &face->root; + face->charmap_handle = &face->charmap; +- root->charmap = face->charmap_handle; ++ face->root.charmap = face->charmap_handle; + + #endif /* !FT_CONFIG_OPTION_USE_CMAPS */ + |