mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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
This commit is contained in:
parent
b2f2d972ff
commit
fc0a864d96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60438
@ -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%/ \
|
||||
|
@ -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. */
|
||||
|
25
print/freetype2/files/patch-src::pcf::pcfdriver.c
Normal file
25
print/freetype2/files/patch-src::pcf::pcfdriver.c
Normal file
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user