This commit is contained in:
commit
4c14f94ffb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
13
bugzilla-159166-reduce-embolden-distance.patch
Normal file
13
bugzilla-159166-reduce-embolden-distance.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ru freetype-2.2.1.orig/src/base/ftsynth.c freetype-2.2.1/src/base/ftsynth.c
|
||||
--- freetype-2.2.1.orig/src/base/ftsynth.c 2006-02-25 07:12:35.000000000 +0100
|
||||
+++ freetype-2.2.1/src/base/ftsynth.c 2006-06-22 15:45:32.000000000 +0200
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
/* some reasonable strength */
|
||||
xstr = FT_MulFix( face->units_per_EM,
|
||||
- face->size->metrics.y_scale ) / 24;
|
||||
+ face->size->metrics.y_scale ) / 35;
|
||||
ystr = xstr;
|
||||
|
||||
if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
|
||||
|
3
freetype-2.3.5.tar.bz2
Normal file
3
freetype-2.3.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:319d44f2b15e6d8b6031df4a28238e090fcdc4a66f9d9c6f3d3b40595f87c740
|
||||
size 1041584
|
3
freetype-doc-2.3.5.tar.bz2
Normal file
3
freetype-doc-2.3.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c37aee42427feaaec7a276267f8c8ad771cb81033066bdf452c731fa41e4b0b
|
||||
size 98644
|
3
freetype-doc-reference.tar.bz2
Normal file
3
freetype-doc-reference.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:67a737fd5c67604fa38c2c22f715a64b53afccadfddd6430b63b3b93b09a099c
|
||||
size 65893
|
13
freetype2-bc.patch
Normal file
13
freetype2-bc.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -ru freetype-2.1.10.orig/include/freetype/config/ftoption.h freetype-2.1.10/include/freetype/config/ftoption.h
|
||||
--- freetype-2.1.10.orig/include/freetype/config/ftoption.h 2005-06-06 17:37:53.000000000 +0200
|
||||
+++ freetype-2.1.10/include/freetype/config/ftoption.h 2005-07-19 16:25:31.000000000 +0200
|
||||
@@ -436,7 +436,7 @@
|
||||
/* Do not #undef this macro here, since the build system might */
|
||||
/* define it for certain configurations only. */
|
||||
/* */
|
||||
-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
|
||||
+#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
freetype-2.1.10/include/freetype/configだけに発見: ftoption.h.~1~
|
40
freetype2-bitmap-foundry.patch
Normal file
40
freetype2-bitmap-foundry.patch
Normal file
@ -0,0 +1,40 @@
|
||||
diff -ru freetype-2.3.4.orig/src/pcf/pcfread.c freetype-2.3.4/src/pcf/pcfread.c
|
||||
--- freetype-2.3.4.orig/src/pcf/pcfread.c 2007-04-10 15:45:54.000000000 +0200
|
||||
+++ freetype-2.3.4/src/pcf/pcfread.c 2007-04-10 16:24:58.000000000 +0200
|
||||
@@ -1164,8 +1164,34 @@
|
||||
prop = pcf_find_property( face, "FAMILY_NAME" );
|
||||
if ( prop && prop->isString )
|
||||
{
|
||||
- if ( FT_STRDUP( root->family_name, prop->value.atom ) )
|
||||
- goto Exit;
|
||||
+ int l = ft_strlen( prop->value.atom ) + 1;
|
||||
+ int wide = 0;
|
||||
+ PCF_Property foundry_prop = pcf_find_property( face, "FOUNDRY" );
|
||||
+ PCF_Property point_size_prop = pcf_find_property( face, "POINT_SIZE" );
|
||||
+ PCF_Property average_width_prop = pcf_find_property( face, "AVERAGE_WIDTH" );
|
||||
+ if ( point_size_prop != NULL && average_width_prop != NULL) {
|
||||
+ if ( average_width_prop->value.integer >= point_size_prop->value.integer ) {
|
||||
+ /* This font is at least square shaped or even wider */
|
||||
+ wide = 1;
|
||||
+ l += ft_strlen( " Wide");
|
||||
+ }
|
||||
+ }
|
||||
+ if ( foundry_prop != NULL && foundry_prop->isString) {
|
||||
+ l += ft_strlen( foundry_prop->value.atom ) + 1;
|
||||
+ if ( FT_NEW_ARRAY( root->family_name, l ) )
|
||||
+ goto Exit;
|
||||
+ ft_strcpy( root->family_name, foundry_prop->value.atom );
|
||||
+ strcat( root->family_name, " ");
|
||||
+ strcat( root->family_name, prop->value.atom );
|
||||
+ }
|
||||
+ else {
|
||||
+ if ( FT_NEW_ARRAY( root->family_name, l ) )
|
||||
+ goto Exit;
|
||||
+ ft_strcpy( root->family_name, prop->value.atom );
|
||||
+ }
|
||||
+ if ( wide != 0) {
|
||||
+ strcat( root->family_name, " Wide");
|
||||
+ }
|
||||
}
|
||||
else
|
||||
root->family_name = NULL;
|
12
freetype2-subpixel.patch
Normal file
12
freetype2-subpixel.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru freetype-2.2.1.20061013.orig/include/freetype/config/ftoption.h freetype-2.2.1.20061013/include/freetype/config/ftoption.h
|
||||
--- freetype-2.2.1.20061013.orig/include/freetype/config/ftoption.h 2006-09-26 23:55:44.000000000 +0200
|
||||
+++ freetype-2.2.1.20061013/include/freetype/config/ftoption.h 2006-10-19 14:12:48.000000000 +0200
|
||||
@@ -92,7 +92,7 @@
|
||||
/* This is done to allow FreeType clients to run unmodified, forcing */
|
||||
/* them to display normal gray-level anti-aliased glyphs. */
|
||||
/* */
|
||||
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
|
||||
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
|
||||
|
||||
/*************************************************************************/
|
598
freetype2.changes
Normal file
598
freetype2.changes
Normal file
@ -0,0 +1,598 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 03 16:19:11 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.5. Extract from the doc/CHANGES file:
|
||||
• Some subglyphs in TrueType fonts were handled incorrectly due
|
||||
to a missing graphics state reinitialization.
|
||||
• Large .Z files (as distributed with some X11 packages)
|
||||
weren't handled correctly, making FreeType increase the heap
|
||||
stack in an endless loop.
|
||||
• A large number of bugs have been fixed to avoid crashes and
|
||||
endless loops with invalid fonts.
|
||||
• The two new cache functions `FTC_ImageCache_LookupScaler' and
|
||||
`FTC_SBit_Cache_LookupScaler' have been added to allow lookup of
|
||||
glyphs using an `FTC_Scaler' object; this makes it possible to
|
||||
use fractional pixel sizes in the cache. The demo programs have
|
||||
been updated accordingly to use this feature.
|
||||
• A new API `FT_Get_CMap_Format' has been added to get the
|
||||
cmap format of a TrueType font. This is useful in handling
|
||||
PDF files. The code has been contributed by Derek Clegg.
|
||||
• The auto-hinter now produces better output by default for
|
||||
non-Latin scripts like Indic. This was done by using the CJK
|
||||
hinting module as the default instead of the Latin one. Thanks
|
||||
to Rahul Bhalerao for this suggestion.
|
||||
• A new API `FT_Face_CheckTrueTypePatents' has been added to find
|
||||
out whether a given TrueType font uses patented bytecode
|
||||
instructions. The `ft2demos' bundle contains a new program
|
||||
called `ftpatchk' which demonstrates its usage.
|
||||
• A new API `FT_Face_SetUnpatentedHinting' has been added to
|
||||
enable or disable the unpatented hinter.
|
||||
• Support for Windows FON files in PE format has been contributed
|
||||
by Dmitry Timoshkov.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 04 14:58:01 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #275072: (from upstream CVS):
|
||||
Check for negative number of points in contours. Problem
|
||||
reported by Victor Stinner <victor.stinner@haypocalc.com>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 22 16:47:15 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- fix last patch to avoid crashes when loader->exec == NULL.
|
||||
(caused crashes in xpdf, kpdf, acroread for me for many
|
||||
.pdf files).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 21 17:16:35 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #273714: ('¼', '½', and '¾' in "Albany AMT" are
|
||||
rendered very badly): apply fix from upstream CVS, thanks
|
||||
to Werner LEMBERG.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 10 16:42:14 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.4. Extract from the doc/CHANGES file:
|
||||
• A serious bug in the handling of bitmap fonts (and bitmap
|
||||
strikes of outline fonts) has been introduced in 2.3.3.
|
||||
• Remove a serious regression in the TrueType bytecode
|
||||
interpreter that was introduced in version 2.3.2. Note that
|
||||
this does not disable the improvements introduced to the
|
||||
interpreter in version 2.3.2, only some ill cases that occurred
|
||||
with certain fonts (though a few popular ones).
|
||||
• The auto-hinter now ignores single-point contours for
|
||||
computing blue zones. This bug created `wavy' baselines when
|
||||
rendering text with various fonts that use these contours to
|
||||
model mark-attach points (these are points that are never
|
||||
rasterized and are placed outside of the glyph's real
|
||||
outline).
|
||||
• The `rsb_delta' and `lsb_delta' glyph slot fields are now set
|
||||
to 0 for mono-spaced fonts. Otherwise code that uses them
|
||||
would essentially ruin the fixed-advance property.
|
||||
• Fix CVE-2007-1351 which can cause an integer overflow while
|
||||
parsing BDF fonts, leading to a potentially exploitable heap
|
||||
overflow condition.
|
||||
• FreeType returned incorrect kerning information from TrueType
|
||||
fonts when the bytecode interpreter was enabled. This
|
||||
happened due to a typo introduced in version 2.3.0.
|
||||
• Negative kerning values from PFM files are now reported
|
||||
correctly (they were read as 16-bit unsigned values from the
|
||||
file).
|
||||
• Fixed a small memory leak when `FT_Init_FreeType' failed for
|
||||
some reason.
|
||||
• The Postscript hinter placed and sized very thin and ghost
|
||||
stems incorrectly.
|
||||
• The TrueType bytecode interpreter has been fixed to get rid
|
||||
of most of the rare differences seen in comparison to the
|
||||
Windows font loader.
|
||||
• A new demo program `ftdiff' has been added to compare
|
||||
TrueType hinting, FreeType's auto hinting, and rendering
|
||||
without hinting in three columns.
|
||||
• The auto-hinter now better deals with serifs and corner cases
|
||||
(e.g., glyph '9' in Arial at 9pt, 96dpi). It also improves
|
||||
spacing adjustments and doesn't change widths for non-spacing
|
||||
glyphs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 17:05:58 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- add zlib-devel BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 19:36:32 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #258335: fix buffer overflow in handling of bdf fonts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 05 16:03:56 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.1.
|
||||
• The TrueType interpreter sometimes returned incorrect
|
||||
horizontal metrics due to a bug in the handling of the SHZ
|
||||
instruction.
|
||||
• A typo in a security check introduced after
|
||||
version 2.2.1 prevented FreeType to render some glyphs in CFF
|
||||
fonts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 21 14:25:09 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.0 (from rc1 to final release)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 20:54:24 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1.20070112 (= 2.3.0rc1).
|
||||
• bugzilla #231417 fixed, see ChangeLog:
|
||||
2007-01-10 David Turner <david at freetype.org>
|
||||
[...]
|
||||
* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
|
||||
fixed a typo which created an endless loop with some malformed
|
||||
font files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 12:00:19 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1.20070110.
|
||||
- remove bugzilla-216793-local-variable-used-before-set.patch,
|
||||
bugzilla-217388-fix-advance-handling-in-FT_GlyphSlot_Embolden.patch
|
||||
(included upstream).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 19:03:37 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #222693: disable bugzilla-159166-reduce-embolden-distance.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 09 16:02:31 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #216793: "local variable used before set"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 07 13:30:08 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #217388: fix advance handling in FT_GlyphSlot_Embolden()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 17:25:35 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #158573: update to 2.2.1.20061027.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 20 12:31:40 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- disable the recent fixes of the byte code interpreter because
|
||||
if breaks the rendering of "Luxi Mono"
|
||||
(/usr/share/fonts/truetype/luximr.ttf) See also:
|
||||
http://lists.gnu.org/archive/html/freetype/2006-10/msg00034.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 12:12:42 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1.20061013
|
||||
• fixes bugzilla #207959.
|
||||
• autohinter improved
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 04 10:27:18 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #196931: add zlib-devel to Requires of freetype2-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 10:41:02 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #190902: add patch from upstream CVS to handle
|
||||
bad PCF files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 26 19:10:38 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #188210: move development documents of into -devel
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 18:04:29 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1:
|
||||
+ remove bugzilla-97202-fix-x-crash.patch
|
||||
+ remove bugzilla-157441-autofit-cjk-cvs.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158156-memory-leak.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158573-fix-orientation-detection.patch
|
||||
(included upstream).
|
||||
+ remove bugzilla-133086-enable-kerning.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-154928-integer-overflows.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-159304-fix-ftview-glyph-index.patch
|
||||
(fixed upstream).
|
||||
+ remove enable_ft_optimize_memory.patch (is already enabled by
|
||||
default now).
|
||||
+ adapt bugzilla-159166-reduce-embolden-distance.patch a little
|
||||
bit to achieve the same boldness effect as with the last
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 01 13:02:51 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #154928: fix several integer overflows.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 17:27:36 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #133086: enable kerning, see
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2005-09/msg00027.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 14:04:18 CET 2006 - dmueller@suse.de
|
||||
|
||||
- build parallel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 04:39:02 CET 2006 - zsu@suse.de
|
||||
|
||||
- Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts.
|
||||
- Bugzilla #159166: reduce embolden strength to get better rendering
|
||||
effect.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 16:02:12 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #157441: remove 0x0100-0xFFFF from CJK Unicode range,
|
||||
as it might cause side effects for non-CJK scripts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 13:12:47 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #158156: fix a memory leak (by Zhe Su <zsu@novell.com>).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 18:16:30 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #157441: instead of Takashi's patches, use a patch
|
||||
from upstream CVS which renders slightly better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 14:38:57 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #157441: FZSongTi.ttf contains a lot more (CJK)-glyphs
|
||||
than most other fonts, therefore we have to expand the cjk range
|
||||
in Takashi Iwai's "ft2-autofit-02-cjk.diff" to render these
|
||||
glyphs correctly as well.
|
||||
- Bugzilla #157441: don't apply ft2-autofit-03-latin-baseline.diff
|
||||
as it has some side effects.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:13 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 09 16:11:04 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #105626: add patches by Takashi IWAI <tiwai@suse.de>
|
||||
to improve the autohinting (mainly for CJK fonts).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 20 10:45:55 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #97202: apply workaround to avoid crashing the Xserver.
|
||||
I need to disable FT_OPTIMIZE_MEMORY again to apply that
|
||||
workaround.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 19 16:05:32 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- enable FT_OPTIMIZE_MEMORY.
|
||||
- enable the byte code interpreter again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 12 14:13:56 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.10.
|
||||
+ fixes serious bug introduced in 2.1.8 which caused many
|
||||
distortions for TrueType fonts
|
||||
+ amount of heap memory used is drastically reduced
|
||||
For more details see /usr/share/doc/packages/freetype2/CHANGES.
|
||||
- disable freetype-autohint-cjkfonts.patch for the moment, the
|
||||
auto-hinter has been replaced with a new module called the
|
||||
'auto-fitter' which is "prepared better to support non-latin1
|
||||
scripts in next releases". Currently the rendering quality of
|
||||
CJK fonts seems to have suffered though compared to 2.1.9
|
||||
with the freetype-autohint-cjkfonts.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 4 16:45:33 CEST 2005 - meissner@suse.de
|
||||
|
||||
- Use system zlib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 12:00:10 CEST 2004 - kukuk@suse.de
|
||||
|
||||
- Avoid /bin/sh as PreRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 18:31:00 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.9.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 10 15:45:26 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.8.
|
||||
remove the bdf-pcf fixes for bitmap font metric issues which
|
||||
were backported from CVS, they are included in this release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 11:14:05 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #38205:
|
||||
add patch from http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7
|
||||
to improve the hinting results (mainly for CJK fonts).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 24 01:14:22 CET 2004 - mfabian@suse.de
|
||||
|
||||
- Add ft2-stream-compat.diff for binary compatibility when
|
||||
upgrading from SLES8 to SLES9.
|
||||
The FT_Stream functions have been renamed and although these
|
||||
functions were declared for internal use only by the freetype
|
||||
developers, they have been used in Qt (and possibly elsewhere).
|
||||
Therefore, 3rd party which linked statically against Qt might
|
||||
not work after upgrading from SLES8 to SLES9.
|
||||
Fix this problem with a patch by Kurt Garloff <garloff@suse.de>
|
||||
which defines appropriate weak symbols.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 11:32:40 CET 2004 - mfabian@suse.de
|
||||
|
||||
- fix Bugzilla# 36143: backport fixes for bitmap font metric issues
|
||||
from CVS to fix crashes when using bitmap fonts caused by the
|
||||
new libXft-2.1.5 from the X.org tree.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 12 09:45:24 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr and %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 14:57:15 CET 2004 - mfabian@suse.de
|
||||
|
||||
- add "-fno-strict-aliasing" compile option to prevent crashes
|
||||
for example in ftdump and mkfontscale.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 16 15:17:28 CET 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.7.
|
||||
- remove freetype2-type1.patch (included upstream)
|
||||
- add documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 9 00:26:48 CEST 2003 - schwab@suse.de
|
||||
|
||||
- Fix invalid free.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 15:41:21 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.5.
|
||||
- remove freetype-bdf-pcf-drivr.patch, freetype2-bitmap-style.patch
|
||||
(included upstream).
|
||||
- remove gzip-eof.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 12:05:01 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- add gzip-eof.patch to fix the problem that some gzipped bitmap
|
||||
fonts could not be opened by freetype2.
|
||||
See also:
|
||||
http://marc.theaimsgroup.com/?l=freetype-devel&m=105505219505600&w=2
|
||||
and followups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 23:29:14 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- add freetype2-bitmap-style.patch: check the bdf properties
|
||||
WEIGHT_NAME and SLANT case insensitively. Without that,
|
||||
these properties are not correctly recognized when the fonts
|
||||
specify them in lower case.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 8 16:12:08 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 4 12:04:35 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.4rc2
|
||||
- freetype2-gzip-header.patch is obsolete -> removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 21:58:14 CET 2003 - mfabian@suse.de
|
||||
|
||||
- Bug #24755: further improvement: add " Wide" to the family name
|
||||
for fonts which have an average width >= point size, i.e. fonts
|
||||
which have glyphs which are at least square (or maybe even
|
||||
wider). This makes fonts which contain only double width
|
||||
characters (for example the "misc-fixed" 18x18ja.bdf) clearly
|
||||
distinct from single width fonts of the same family and
|
||||
avoids that they get accidentally selected via freetype2/Xft2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 16:06:11 CET 2003 - mfabian@suse.de
|
||||
|
||||
- Bug #24775: partly fixed by a patch to freetype which returns
|
||||
"FOUNDRY FAMILY_NAME" as the family_name for bitmap fonts.
|
||||
Without that change, all bitmap fonts which have "Fixed"
|
||||
in FAMILY_NAME also had the same family_name "Fixed" via
|
||||
freetype/Xft2 and it was not possible to distinguish between
|
||||
them, therefore the selection of "Fixed" bitmap fonts produced
|
||||
quite surprising results. After this change, the fonts show
|
||||
up for example as "Misc Fixed", "Etl Fixed", etc. via
|
||||
freetype2/Xft2, which makes it easy to select the right one.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 3 12:52:02 CET 2003 - mfabian@suse.de
|
||||
|
||||
- fix for the bug that caused FreeType to loop endlessly when
|
||||
trying to read certain compressed gzip files. The following test
|
||||
could be used to reveal the bug:
|
||||
touch 0123456789 ; gzip 0123456789 ; ftdump 0123456789.gz
|
||||
(from upstream CVS)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 14 16:07:55 CET 2003 - mfabian@suse.de
|
||||
|
||||
- freetype-bdf-pcf-drivr.patch: use FT_UShort instead of FT_Short
|
||||
for the glyph number of bitmap fonts. The GNU Unicode font
|
||||
has 34725 glyphs and because of the usage of signed short
|
||||
all glyphs with an index above 2^15 couldn't be displayed.
|
||||
Thanks to Gerd Knorr <kraxel@suse.de>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 15:52:36 CET 2003 - mfabian@suse.de
|
||||
|
||||
- disable freetype2-bc.patch, see
|
||||
http://www.freetype.org/freetype2/2.1.3-explained.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 16:29:08 CET 2003 - mfabian@suse.de
|
||||
|
||||
- add freetype2-bc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 18:26:39 CET 2003 - mfabian@suse.de
|
||||
|
||||
- split out ft2demos into extra package to avoid adding
|
||||
x-devel-packages to '# neededforbuild' (XFree86 needs freetype2,
|
||||
this would be a loop in the requirements)
|
||||
- add doc files and license texts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 18:34:13 CET 2003 - mfabian@suse.de
|
||||
|
||||
- fix checking of .gz header (fixes Bug #22712, i.e. fixes
|
||||
the problem that freetype2 couldn't open .pcf.gz files which
|
||||
contain the original file name or extra fields)
|
||||
- add programs from ft2demos-2.1.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 11:53:13 CET 2002 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 16:42:42 CET 2002 - mfabian@suse.de
|
||||
|
||||
- add /usr/share/aclocal/* to filelist
|
||||
(thanks to <adrian@suse.de> for noticing the omission)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 15:37:31 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.2. From the release notes:
|
||||
That's probably the first release of FreeType in the 2.1.x
|
||||
development branch that can safely replace 2.0.9 on any
|
||||
system.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 10 01:16:09 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- freetype2-devel package should require freetype2 package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 2 14:40:33 CEST 2002 - mfabian@suse.de
|
||||
|
||||
- upgrade to 2.0.9 (considerably improved rendering of Type1 fonts)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 21:14:00 CET 2002 - mfabian@suse.de
|
||||
|
||||
- use the byte code interpreter
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 11 15:12:44 CET 2002 - mfabian@suse.de
|
||||
|
||||
- upgrade to 2.0.8
|
||||
- remove freetype-config.patch (included upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 18:27:36 CET 2002 - adrian@suse.de
|
||||
|
||||
- enable debug informations to debug a sig11 in inst-sys
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 11:14:03 CET 2002 - pmladek@suse.cz
|
||||
|
||||
- fixed missing 'fi' in freetype-config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 14:45:54 CET 2002 - mfabian@suse.de
|
||||
|
||||
- update to 2.0.7
|
||||
- remove freetype-2.0.6-gsf-segv.patch (included in 2.0.7 already)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 29 11:06:30 CET 2002 - mfabian@suse.de
|
||||
|
||||
- add freetype-2.0.6-gsf-segv.patch from upstream CVS to prevent
|
||||
SEGV caused by gsf files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 22 21:32:16 CET 2002 - mfabian@suse.de
|
||||
|
||||
- use %{_libdir} instead of /usr/lib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 16:28:04 CET 2002 - adrian@suse.de
|
||||
|
||||
- updated to 2.0.6
|
||||
* important fixes which causes crashes with pfb fonts
|
||||
* improved rendering
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 9 07:15:45 CET 2001 - mfabian@suse.de
|
||||
|
||||
- updated to 2.0.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 21 20:10:44 MEST 2001 - egger@suse.de
|
||||
|
||||
- Updated to version 2.0.4.
|
||||
- Use RPM_OPT_FLAGS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 6 21:13:15 MEST 2001 - egger@suse.de
|
||||
|
||||
- Fix filelist.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 16:00:04 MEST 2001 - egger@suse.de
|
||||
|
||||
- Updated to version 2.0.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 26 15:50:03 CEST 2001 - ro@suse.de
|
||||
|
||||
- fix build-rooting
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 15:59:32 CET 2000 - kukuk@suse.de
|
||||
|
||||
- split devel package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 11 23:48:52 MET 2000 - egger@suse.de
|
||||
|
||||
- Updated to version 2.0.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 21:40:54 MET 2000 - egger@suse.de
|
||||
|
||||
- Initial SuSE package.
|
||||
|
501
freetype2.spec
Normal file
501
freetype2.spec
Normal file
@ -0,0 +1,501 @@
|
||||
#
|
||||
# spec file for package freetype2 (Version 2.3.5)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: freetype2
|
||||
BuildRequires: zlib-devel
|
||||
License: Other uncritical OpenSource License, Freetype License: http://freetype.sourceforge.net/FTL.TXT
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 2.3.5
|
||||
Release: 12
|
||||
URL: http://www.freetype.org
|
||||
Summary: A TrueType Font Library
|
||||
# CVS repository:
|
||||
# cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype login
|
||||
# cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype co freetype2
|
||||
# cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype co ft2demos
|
||||
Source0: http://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
|
||||
Source1: http://download.savannah.gnu.org/releases/freetype/freetype-doc-%{version}.tar.bz2
|
||||
# pregenerated to avoid build-dependence on python:
|
||||
Source2: freetype-doc-reference.tar.bz2
|
||||
Patch3: freetype2-bitmap-foundry.patch
|
||||
Patch4: ft2-stream-compat.diff
|
||||
Patch5: revert-fix-bytecode.patch
|
||||
Patch8: bugzilla-159166-reduce-embolden-distance.patch
|
||||
Patch100: freetype2-bc.patch
|
||||
Patch200: freetype2-subpixel.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This library features TrueType fonts for open source projects. This
|
||||
version also contains an autohinter for producing improved output.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Turner <david.turner@freetype.org>
|
||||
Robert Wilhelm <robert.wilhelm@freetype.org>
|
||||
Werner Lemberg <werner.lemberg@freetype.org>
|
||||
|
||||
%package devel
|
||||
Summary: Development environment for the freetype2 TrueType font library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}, zlib-devel
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files, libraries and
|
||||
documentation needed to develop applications that require the freetype2
|
||||
TrueType font library.
|
||||
|
||||
It also contains a small tutorial for using that library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Turner <david.turner@freetype.org>
|
||||
Robert Wilhelm <robert.wilhelm@freetype.org>
|
||||
Werner Lemberg <werner.lemberg@freetype.org>
|
||||
|
||||
%prep
|
||||
# The byte code interpreter is compiled in by default
|
||||
# because of the following option.
|
||||
# For most fonts it is disabled again by default in the
|
||||
# fontconfig setup in /etc/fonts. But if it is already
|
||||
# enabled at compilation time, it can be easily enabled
|
||||
# at runtime. See also the variable BYTECODE_BW_MAX_PIXEL
|
||||
# in /etc/sysconfig/fonts-config.
|
||||
#
|
||||
%define enable_bytecode_interpreter 1
|
||||
%define enable_subpixel_rendering 0%{?opensuse_bs}
|
||||
%setup -q -n freetype-%{version} -a 1
|
||||
%patch3 -p 1 -b .bitmap-foundry
|
||||
%patch4 -p 1 -b .ft2-stream-compat
|
||||
#%patch5 -p 1
|
||||
#%patch8 -p 1
|
||||
%if %{enable_bytecode_interpreter}
|
||||
%patch100 -p 1 -b .bytecode
|
||||
%endif
|
||||
%if %{enable_subpixel_rendering}
|
||||
%patch200 -p 1 -b .subpixel
|
||||
%endif
|
||||
pushd docs
|
||||
tar xf $RPM_SOURCE_DIR/freetype-doc-reference.tar.bz2
|
||||
popd
|
||||
find . -name CVS -type d | xargs rm -rf
|
||||
find . -name ".cvsignore" | xargs rm -f
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
sh ./autogen.sh
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing "
|
||||
make setup CFG="--prefix=/usr --libdir=%{_libdir} --with-zlib"
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing "
|
||||
make prefix=/usr libdir=%{_libdir} %{?jobs:-j %jobs}
|
||||
# build the documentation in the references subdirectory:
|
||||
# (this needs python and we cannot have python in the BuildRequires of
|
||||
# a basic package like freetype2, therefore we cannot do it here but we have
|
||||
# to generate this documentation manually)
|
||||
#make refdoc
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT;
|
||||
# these development documents should go into the freetype2-devel package:
|
||||
mv docs/reference freetype-%{version}/docs
|
||||
make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README
|
||||
%doc docs/*
|
||||
%{_libdir}/libfreetype.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc freetype-%{version}/docs/*
|
||||
/usr/include/*
|
||||
%{_libdir}/libfreetype.*a
|
||||
%{_libdir}/libfreetype.so
|
||||
%{_libdir}/pkgconfig/freetype2.pc
|
||||
/usr/bin/*
|
||||
/usr/share/aclocal/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 03 2007 - mfabian@suse.de
|
||||
- update to 2.3.5. Extract from the doc/CHANGES file:
|
||||
• Some subglyphs in TrueType fonts were handled incorrectly due
|
||||
to a missing graphics state reinitialization.
|
||||
• Large .Z files (as distributed with some X11 packages)
|
||||
weren't handled correctly, making FreeType increase the heap
|
||||
stack in an endless loop.
|
||||
• A large number of bugs have been fixed to avoid crashes and
|
||||
endless loops with invalid fonts.
|
||||
• The two new cache functions `FTC_ImageCache_LookupScaler' and
|
||||
`FTC_SBit_Cache_LookupScaler' have been added to allow lookup of
|
||||
glyphs using an `FTC_Scaler' object; this makes it possible to
|
||||
use fractional pixel sizes in the cache. The demo programs have
|
||||
been updated accordingly to use this feature.
|
||||
• A new API `FT_Get_CMap_Format' has been added to get the
|
||||
cmap format of a TrueType font. This is useful in handling
|
||||
PDF files. The code has been contributed by Derek Clegg.
|
||||
• The auto-hinter now produces better output by default for
|
||||
non-Latin scripts like Indic. This was done by using the CJK
|
||||
hinting module as the default instead of the Latin one. Thanks
|
||||
to Rahul Bhalerao for this suggestion.
|
||||
• A new API `FT_Face_CheckTrueTypePatents' has been added to find
|
||||
out whether a given TrueType font uses patented bytecode
|
||||
instructions. The `ft2demos' bundle contains a new program
|
||||
called `ftpatchk' which demonstrates its usage.
|
||||
• A new API `FT_Face_SetUnpatentedHinting' has been added to
|
||||
enable or disable the unpatented hinter.
|
||||
• Support for Windows FON files in PE format has been contributed
|
||||
by Dmitry Timoshkov.
|
||||
* Mon Jun 04 2007 - mfabian@suse.de
|
||||
- Bugzilla #275072: (from upstream CVS):
|
||||
Check for negative number of points in contours. Problem
|
||||
reported by Victor Stinner <victor.stinner@haypocalc.com>.
|
||||
* Tue May 22 2007 - mfabian@suse.de
|
||||
- fix last patch to avoid crashes when loader->exec == NULL.
|
||||
(caused crashes in xpdf, kpdf, acroread for me for many
|
||||
.pdf files).
|
||||
* Mon May 21 2007 - mfabian@suse.de
|
||||
- Bugzilla #273714: ('¼', '½', and '¾' in "Albany AMT" are
|
||||
rendered very badly): apply fix from upstream CVS, thanks
|
||||
to Werner LEMBERG.
|
||||
* Tue Apr 10 2007 - mfabian@suse.de
|
||||
- update to 2.3.4. Extract from the doc/CHANGES file:
|
||||
• A serious bug in the handling of bitmap fonts (and bitmap
|
||||
strikes of outline fonts) has been introduced in 2.3.3.
|
||||
• Remove a serious regression in the TrueType bytecode
|
||||
interpreter that was introduced in version 2.3.2. Note that
|
||||
this does not disable the improvements introduced to the
|
||||
interpreter in version 2.3.2, only some ill cases that occurred
|
||||
with certain fonts (though a few popular ones).
|
||||
• The auto-hinter now ignores single-point contours for
|
||||
computing blue zones. This bug created `wavy' baselines when
|
||||
rendering text with various fonts that use these contours to
|
||||
model mark-attach points (these are points that are never
|
||||
rasterized and are placed outside of the glyph's real
|
||||
outline).
|
||||
• The `rsb_delta' and `lsb_delta' glyph slot fields are now set
|
||||
to 0 for mono-spaced fonts. Otherwise code that uses them
|
||||
would essentially ruin the fixed-advance property.
|
||||
• Fix CVE-2007-1351 which can cause an integer overflow while
|
||||
parsing BDF fonts, leading to a potentially exploitable heap
|
||||
overflow condition.
|
||||
• FreeType returned incorrect kerning information from TrueType
|
||||
fonts when the bytecode interpreter was enabled. This
|
||||
happened due to a typo introduced in version 2.3.0.
|
||||
• Negative kerning values from PFM files are now reported
|
||||
correctly (they were read as 16-bit unsigned values from the
|
||||
file).
|
||||
• Fixed a small memory leak when `FT_Init_FreeType' failed for
|
||||
some reason.
|
||||
• The Postscript hinter placed and sized very thin and ghost
|
||||
stems incorrectly.
|
||||
• The TrueType bytecode interpreter has been fixed to get rid
|
||||
of most of the rare differences seen in comparison to the
|
||||
Windows font loader.
|
||||
• A new demo program `ftdiff' has been added to compare
|
||||
TrueType hinting, FreeType's auto hinting, and rendering
|
||||
without hinting in three columns.
|
||||
• The auto-hinter now better deals with serifs and corner cases
|
||||
(e.g., glyph '9' in Arial at 9pt, 96dpi). It also improves
|
||||
spacing adjustments and doesn't change widths for non-spacing
|
||||
glyphs.
|
||||
* Mon Apr 02 2007 - rguenther@suse.de
|
||||
- add zlib-devel BuildRequires
|
||||
* Wed Mar 28 2007 - mfabian@suse.de
|
||||
- Bugzilla #258335: fix buffer overflow in handling of bdf fonts.
|
||||
* Mon Feb 05 2007 - mfabian@suse.de
|
||||
- update to 2.3.1.
|
||||
• The TrueType interpreter sometimes returned incorrect
|
||||
horizontal metrics due to a bug in the handling of the SHZ
|
||||
instruction.
|
||||
• A typo in a security check introduced after
|
||||
version 2.2.1 prevented FreeType to render some glyphs in CFF
|
||||
fonts.
|
||||
* Sun Jan 21 2007 - mfabian@suse.de
|
||||
- update to 2.3.0 (from rc1 to final release)
|
||||
* Fri Jan 12 2007 - mfabian@suse.de
|
||||
- update to 2.2.1.20070112 (= 2.3.0rc1).
|
||||
• bugzilla #231417 fixed, see ChangeLog:
|
||||
2007-01-10 David Turner <david at freetype.org>
|
||||
[...]
|
||||
* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
|
||||
fixed a typo which created an endless loop with some malformed
|
||||
font files
|
||||
* Wed Jan 10 2007 - mfabian@suse.de
|
||||
- update to 2.2.1.20070110.
|
||||
- remove bugzilla-216793-local-variable-used-before-set.patch,
|
||||
bugzilla-217388-fix-advance-handling-in-FT_GlyphSlot_Embolden.patch
|
||||
(included upstream).
|
||||
* Wed Nov 22 2006 - mfabian@suse.de
|
||||
- Bugzilla #222693: disable bugzilla-159166-reduce-embolden-distance.patch
|
||||
* Thu Nov 09 2006 - mfabian@suse.de
|
||||
- Bugzilla #216793: "local variable used before set"
|
||||
* Tue Nov 07 2006 - mfabian@suse.de
|
||||
- Bugzilla #217388: fix advance handling in FT_GlyphSlot_Embolden()
|
||||
* Fri Oct 27 2006 - mfabian@suse.de
|
||||
- Bugzilla #158573: update to 2.2.1.20061027.
|
||||
* Fri Oct 20 2006 - mfabian@suse.de
|
||||
- disable the recent fixes of the byte code interpreter because
|
||||
if breaks the rendering of "Luxi Mono"
|
||||
(/usr/share/fonts/truetype/luximr.ttf) See also:
|
||||
http://lists.gnu.org/archive/html/freetype/2006-10/msg00034.html
|
||||
* Fri Oct 13 2006 - mfabian@suse.de
|
||||
- update to 2.2.1.20061013
|
||||
• fixes bugzilla #207959.
|
||||
• autohinter improved
|
||||
* Fri Aug 04 2006 - mfabian@suse.de
|
||||
- Bugzilla #196931: add zlib-devel to Requires of freetype2-devel.
|
||||
* Mon Jul 10 2006 - mfabian@suse.de
|
||||
- Bugzilla #190902: add patch from upstream CVS to handle
|
||||
bad PCF files.
|
||||
* Mon Jun 26 2006 - mfabian@suse.de
|
||||
- Bugzilla #188210: move development documents of into -devel
|
||||
package.
|
||||
* Tue Jun 20 2006 - mfabian@suse.de
|
||||
- update to 2.2.1:
|
||||
+ remove bugzilla-97202-fix-x-crash.patch
|
||||
+ remove bugzilla-157441-autofit-cjk-cvs.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158156-memory-leak.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158573-fix-orientation-detection.patch
|
||||
(included upstream).
|
||||
+ remove bugzilla-133086-enable-kerning.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-154928-integer-overflows.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-159304-fix-ftview-glyph-index.patch
|
||||
(fixed upstream).
|
||||
+ remove enable_ft_optimize_memory.patch (is already enabled by
|
||||
default now).
|
||||
+ adapt bugzilla-159166-reduce-embolden-distance.patch a little
|
||||
bit to achieve the same boldness effect as with the last
|
||||
package.
|
||||
* Thu Jun 01 2006 - mfabian@suse.de
|
||||
- Bugzilla #154928: fix several integer overflows.
|
||||
* Mon Apr 24 2006 - mfabian@suse.de
|
||||
- Bugzilla #133086: enable kerning, see
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2005-09/msg00027.html
|
||||
* Tue Mar 21 2006 - dmueller@suse.de
|
||||
- build parallel
|
||||
* Mon Mar 20 2006 - zsu@suse.de
|
||||
- Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts.
|
||||
- Bugzilla #159166: reduce embolden strength to get better rendering
|
||||
effect.
|
||||
* Wed Mar 15 2006 - mfabian@suse.de
|
||||
- Bugzilla #157441: remove 0x0100-0xFFFF from CJK Unicode range,
|
||||
as it might cause side effects for non-CJK scripts.
|
||||
* Wed Mar 15 2006 - mfabian@suse.de
|
||||
- Bugzilla #158156: fix a memory leak (by Zhe Su <zsu@novell.com>).
|
||||
* Tue Mar 14 2006 - mfabian@suse.de
|
||||
- Bugzilla #157441: instead of Takashi's patches, use a patch
|
||||
from upstream CVS which renders slightly better.
|
||||
* Tue Mar 14 2006 - mfabian@suse.de
|
||||
- Bugzilla #157441: FZSongTi.ttf contains a lot more (CJK)-glyphs
|
||||
than most other fonts, therefore we have to expand the cjk range
|
||||
in Takashi Iwai's "ft2-autofit-02-cjk.diff" to render these
|
||||
glyphs correctly as well.
|
||||
- Bugzilla #157441: don't apply ft2-autofit-03-latin-baseline.diff
|
||||
as it has some side effects.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 09 2006 - mfabian@suse.de
|
||||
- Bugzilla #105626: add patches by Takashi IWAI <tiwai@suse.de>
|
||||
to improve the autohinting (mainly for CJK fonts).
|
||||
* Wed Jul 20 2005 - mfabian@suse.de
|
||||
- Bugzilla #97202: apply workaround to avoid crashing the Xserver.
|
||||
I need to disable FT_OPTIMIZE_MEMORY again to apply that
|
||||
workaround.
|
||||
* Tue Jul 19 2005 - mfabian@suse.de
|
||||
- enable FT_OPTIMIZE_MEMORY.
|
||||
- enable the byte code interpreter again.
|
||||
* Tue Jul 12 2005 - mfabian@suse.de
|
||||
- update to 2.1.10.
|
||||
+ fixes serious bug introduced in 2.1.8 which caused many
|
||||
distortions for TrueType fonts
|
||||
+ amount of heap memory used is drastically reduced
|
||||
For more details see /usr/share/doc/packages/freetype2/CHANGES.
|
||||
- disable freetype-autohint-cjkfonts.patch for the moment, the
|
||||
auto-hinter has been replaced with a new module called the
|
||||
'auto-fitter' which is "prepared better to support non-latin1
|
||||
scripts in next releases". Currently the rendering quality of
|
||||
CJK fonts seems to have suffered though compared to 2.1.9
|
||||
with the freetype-autohint-cjkfonts.patch.
|
||||
* Mon Jul 04 2005 - meissner@suse.de
|
||||
- Use system zlib.
|
||||
* Wed Aug 25 2004 - kukuk@suse.de
|
||||
- Avoid /bin/sh as PreRequires
|
||||
* Tue Jul 06 2004 - mfabian@suse.de
|
||||
- update to 2.1.9.
|
||||
* Mon May 10 2004 - mfabian@suse.de
|
||||
- update to 2.1.8.
|
||||
remove the bdf-pcf fixes for bitmap font metric issues which
|
||||
were backported from CVS, they are included in this release
|
||||
* Fri Apr 16 2004 - mfabian@suse.de
|
||||
- Bugzilla #38205:
|
||||
add patch from http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7
|
||||
to improve the hinting results (mainly for CJK fonts).
|
||||
* Wed Mar 24 2004 - mfabian@suse.de
|
||||
- Add ft2-stream-compat.diff for binary compatibility when
|
||||
upgrading from SLES8 to SLES9.
|
||||
The FT_Stream functions have been renamed and although these
|
||||
functions were declared for internal use only by the freetype
|
||||
developers, they have been used in Qt (and possibly elsewhere).
|
||||
Therefore, 3rd party which linked statically against Qt might
|
||||
not work after upgrading from SLES8 to SLES9.
|
||||
Fix this problem with a patch by Kurt Garloff <garloff@suse.de>
|
||||
which defines appropriate weak symbols.
|
||||
* Tue Mar 16 2004 - mfabian@suse.de
|
||||
- fix Bugzilla# 36143: backport fixes for bitmap font metric issues
|
||||
from CVS to fix crashes when using bitmap fonts caused by the
|
||||
new libXft-2.1.5 from the X.org tree.
|
||||
* Mon Jan 12 2004 - adrian@suse.de
|
||||
- add %%defattr and %%run_ldconfig
|
||||
* Fri Jan 09 2004 - mfabian@suse.de
|
||||
- add "-fno-strict-aliasing" compile option to prevent crashes
|
||||
for example in ftdump and mkfontscale.
|
||||
* Tue Dec 16 2003 - mfabian@suse.de
|
||||
- update to 2.1.7.
|
||||
- remove freetype2-type1.patch (included upstream)
|
||||
- add documentation.
|
||||
* Thu Oct 09 2003 - schwab@suse.de
|
||||
- Fix invalid free.
|
||||
* Fri Sep 26 2003 - mfabian@suse.de
|
||||
- update to 2.1.5.
|
||||
- remove freetype-bdf-pcf-drivr.patch, freetype2-bitmap-style.patch
|
||||
(included upstream).
|
||||
- remove gzip-eof.patch.
|
||||
* Mon Sep 01 2003 - mfabian@suse.de
|
||||
- add gzip-eof.patch to fix the problem that some gzipped bitmap
|
||||
fonts could not be opened by freetype2.
|
||||
See also:
|
||||
http://marc.theaimsgroup.com/?l=freetype-devel&m=105505219505600&w=2
|
||||
and followups.
|
||||
* Tue Aug 26 2003 - mfabian@suse.de
|
||||
- add freetype2-bitmap-style.patch: check the bdf properties
|
||||
WEIGHT_NAME and SLANT case insensitively. Without that,
|
||||
these properties are not correctly recognized when the fonts
|
||||
specify them in lower case.
|
||||
* Tue Apr 08 2003 - mfabian@suse.de
|
||||
- update to 2.1.4
|
||||
* Fri Apr 04 2003 - mfabian@suse.de
|
||||
- update to 2.1.4rc2
|
||||
- freetype2-gzip-header.patch is obsolete -> removed
|
||||
* Fri Mar 07 2003 - mfabian@suse.de
|
||||
- Bug #24755: further improvement: add " Wide" to the family name
|
||||
for fonts which have an average width >= point size, i.e. fonts
|
||||
which have glyphs which are at least square (or maybe even
|
||||
wider). This makes fonts which contain only double width
|
||||
characters (for example the "misc-fixed" 18x18ja.bdf) clearly
|
||||
distinct from single width fonts of the same family and
|
||||
avoids that they get accidentally selected via freetype2/Xft2.
|
||||
* Fri Mar 07 2003 - mfabian@suse.de
|
||||
- Bug #24775: partly fixed by a patch to freetype which returns
|
||||
"FOUNDRY FAMILY_NAME" as the family_name for bitmap fonts.
|
||||
Without that change, all bitmap fonts which have "Fixed"
|
||||
in FAMILY_NAME also had the same family_name "Fixed" via
|
||||
freetype/Xft2 and it was not possible to distinguish between
|
||||
them, therefore the selection of "Fixed" bitmap fonts produced
|
||||
quite surprising results. After this change, the fonts show
|
||||
up for example as "Misc Fixed", "Etl Fixed", etc. via
|
||||
freetype2/Xft2, which makes it easy to select the right one.
|
||||
* Mon Mar 03 2003 - mfabian@suse.de
|
||||
- fix for the bug that caused FreeType to loop endlessly when
|
||||
trying to read certain compressed gzip files. The following test
|
||||
could be used to reveal the bug:
|
||||
touch 0123456789 ; gzip 0123456789 ; ftdump 0123456789.gz
|
||||
(from upstream CVS)
|
||||
* Fri Feb 14 2003 - mfabian@suse.de
|
||||
- freetype-bdf-pcf-drivr.patch: use FT_UShort instead of FT_Short
|
||||
for the glyph number of bitmap fonts. The GNU Unicode font
|
||||
has 34725 glyphs and because of the usage of signed short
|
||||
all glyphs with an index above 2^15 couldn't be displayed.
|
||||
Thanks to Gerd Knorr <kraxel@suse.de>.
|
||||
* Thu Jan 30 2003 - mfabian@suse.de
|
||||
- disable freetype2-bc.patch, see
|
||||
http://www.freetype.org/freetype2/2.1.3-explained.html
|
||||
* Wed Jan 29 2003 - mfabian@suse.de
|
||||
- add freetype2-bc.patch
|
||||
* Mon Jan 13 2003 - mfabian@suse.de
|
||||
- split out ft2demos into extra package to avoid adding
|
||||
x-devel-packages to '# neededforbuild' (XFree86 needs freetype2,
|
||||
this would be a loop in the requirements)
|
||||
- add doc files and license texts.
|
||||
* Fri Jan 10 2003 - mfabian@suse.de
|
||||
- fix checking of .gz header (fixes Bug #22712, i.e. fixes
|
||||
the problem that freetype2 couldn't open .pcf.gz files which
|
||||
contain the original file name or extra fields)
|
||||
- add programs from ft2demos-2.1.3.
|
||||
* Thu Nov 21 2002 - mfabian@suse.de
|
||||
- update to 2.1.3.
|
||||
* Tue Nov 05 2002 - mfabian@suse.de
|
||||
- add /usr/share/aclocal/* to filelist
|
||||
(thanks to <adrian@suse.de> for noticing the omission)
|
||||
* Thu Oct 24 2002 - mfabian@suse.de
|
||||
- update to 2.1.2. From the release notes:
|
||||
That's probably the first release of FreeType in the 2.1.x
|
||||
development branch that can safely replace 2.0.9 on any
|
||||
system.
|
||||
* Sat Aug 10 2002 - mfabian@suse.de
|
||||
- freetype2-devel package should require freetype2 package
|
||||
* Tue Apr 02 2002 - mfabian@suse.de
|
||||
- upgrade to 2.0.9 (considerably improved rendering of Type1 fonts)
|
||||
* Wed Mar 06 2002 - mfabian@suse.de
|
||||
- use the byte code interpreter
|
||||
* Mon Feb 11 2002 - mfabian@suse.de
|
||||
- upgrade to 2.0.8
|
||||
- remove freetype-config.patch (included upstream)
|
||||
* Tue Feb 05 2002 - adrian@suse.de
|
||||
- enable debug informations to debug a sig11 in inst-sys
|
||||
* Tue Feb 05 2002 - pmladek@suse.cz
|
||||
- fixed missing 'fi' in freetype-config
|
||||
* Mon Feb 04 2002 - mfabian@suse.de
|
||||
- update to 2.0.7
|
||||
- remove freetype-2.0.6-gsf-segv.patch (included in 2.0.7 already)
|
||||
* Tue Jan 29 2002 - mfabian@suse.de
|
||||
- add freetype-2.0.6-gsf-segv.patch from upstream CVS to prevent
|
||||
SEGV caused by gsf files.
|
||||
* Tue Jan 22 2002 - mfabian@suse.de
|
||||
- use %%{_libdir} instead of /usr/lib
|
||||
* Wed Jan 16 2002 - adrian@suse.de
|
||||
- updated to 2.0.6
|
||||
* important fixes which causes crashes with pfb fonts
|
||||
* improved rendering
|
||||
* Fri Nov 09 2001 - mfabian@suse.de
|
||||
- updated to 2.0.5
|
||||
* Sat Jul 21 2001 - egger@suse.de
|
||||
- Updated to version 2.0.4.
|
||||
- Use RPM_OPT_FLAGS.
|
||||
* Wed Jun 06 2001 - egger@suse.de
|
||||
- Fix filelist.
|
||||
* Mon Jun 04 2001 - egger@suse.de
|
||||
- Updated to version 2.0.3.
|
||||
* Mon Mar 26 2001 - ro@suse.de
|
||||
- fix build-rooting
|
||||
* Thu Dec 14 2000 - kukuk@suse.de
|
||||
- split devel package
|
||||
* Mon Dec 11 2000 - egger@suse.de
|
||||
- Updated to version 2.0.1.
|
||||
* Fri Nov 10 2000 - egger@suse.de
|
||||
- Initial SuSE package.
|
212
ft2-stream-compat.diff
Normal file
212
ft2-stream-compat.diff
Normal file
@ -0,0 +1,212 @@
|
||||
--- freetype-2.1.7.new/src/base/ftstream.c.orig 2002-03-30 14:16:35.000000000 +0100
|
||||
+++ freetype-2.1.7.new/src/base/ftstream.c 2004-03-19 15:49:25.000000000 +0100
|
||||
@@ -44,6 +44,17 @@
|
||||
stream->close = 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( void )
|
||||
+ FT_New_Memory_Stream( FT_Library, FT_Byte*, FT_ULong, FT_Stream ) __attribute__((weak));
|
||||
+ FT_BASE_DEF( void )
|
||||
+ FT_New_Memory_Stream( FT_Library library,
|
||||
+ FT_Byte* base,
|
||||
+ FT_ULong size,
|
||||
+ FT_Stream stream )
|
||||
+ {
|
||||
+ stream->memory = library->memory;
|
||||
+ FT_Stream_OpenMemory( stream, (const FT_Byte*) base, size );
|
||||
+ }
|
||||
|
||||
FT_BASE_DEF( void )
|
||||
FT_Stream_Close( FT_Stream stream )
|
||||
@@ -87,6 +98,8 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Seek_Stream(FT_Stream, FT_ULong) __attribute__((weak, alias("FT_Stream_Seek")));
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_Skip( FT_Stream stream,
|
||||
@@ -95,6 +108,8 @@
|
||||
return FT_Stream_Seek( stream, (FT_ULong)( stream->pos + distance ) );
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Skip_Stream(FT_Stream, FT_Long) __attribute__((weak, alias("FT_Stream_Skip")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_Pos( FT_Stream stream )
|
||||
@@ -111,6 +126,8 @@
|
||||
return FT_Stream_ReadAt( stream, stream->pos, buffer, count );
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Read_Stream( FT_Stream, FT_Byte*, FT_ULong ) __attribute__((weak, alias("FT_Stream_Read")));
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_ReadAt( FT_Stream stream,
|
||||
@@ -155,6 +172,8 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Read_Stream_At( FT_Stream, FT_ULong, FT_Byte*, FT_ULong) __attribute__((weak, alias("FT_Stream_ReadAt")));
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_ExtractFrame( FT_Stream stream,
|
||||
@@ -177,7 +196,9 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
-
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Extract_Frame( FT_Stream, FT_ULong, FT_Byte** ) __attribute__((weak, alias("FT_Stream_ExtractFrame")));
|
||||
+
|
||||
FT_BASE_DEF( void )
|
||||
FT_Stream_ReleaseFrame( FT_Stream stream,
|
||||
FT_Byte** pbytes )
|
||||
@@ -192,6 +213,8 @@
|
||||
*pbytes = 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( void )
|
||||
+ FT_Release_Frame( FT_Stream, FT_Byte** ) __attribute__((weak, alias("FT_Stream_ReleaseFrame")));
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_EnterFrame( FT_Stream stream,
|
||||
@@ -253,6 +276,8 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Access_Frame( FT_Stream, FT_ULong ) __attribute__((weak, alias("FT_Stream_EnterFrame")));
|
||||
|
||||
FT_BASE_DEF( void )
|
||||
FT_Stream_ExitFrame( FT_Stream stream )
|
||||
@@ -279,6 +304,8 @@
|
||||
stream->limit = 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( void )
|
||||
+ FT_Forget_Frame( FT_Stream ) __attribute__((weak, alias("FT_Stream_ExitFrame")));
|
||||
|
||||
FT_BASE_DEF( FT_Char )
|
||||
FT_Stream_GetChar( FT_Stream stream )
|
||||
@@ -295,6 +322,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Char )
|
||||
+ FT_Get_Char( FT_Stream ) __attribute__((weak, alias("FT_Stream_GetChar")));
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_GetShort( FT_Stream stream )
|
||||
@@ -314,6 +343,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Short )
|
||||
+ FT_Get_Short( FT_Stream ) __attribute__((weak, alias("FT_Stream_GetShort")));
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_GetShortLE( FT_Stream stream )
|
||||
@@ -333,6 +364,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Short )
|
||||
+ FT_Get_ShortLE( FT_Stream ) __attribute__((weak, alias("FT_Stream_GetShortLE")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_GetOffset( FT_Stream stream )
|
||||
@@ -351,6 +384,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Long )
|
||||
+ FT_Get_Offset( FT_Stream ) __attribute__((weak, alias("FT_Stream_GetOffset")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_GetLong( FT_Stream stream )
|
||||
@@ -369,6 +404,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Long )
|
||||
+ FT_Get_Long( FT_Stream ) __attribute__((weak, alias("FT_Stream_GetLong")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_GetLongLE( FT_Stream stream )
|
||||
@@ -387,6 +424,8 @@
|
||||
return result;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Long )
|
||||
+ FT_Get_LongLE( FT_Stream ) __attribute__((weak, alias("FT_Stream_GetLongLE")));
|
||||
|
||||
FT_BASE_DEF( FT_Char )
|
||||
FT_Stream_ReadChar( FT_Stream stream,
|
||||
@@ -423,6 +462,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Char )
|
||||
+ FT_Read_Char( FT_Stream, FT_Error* ) __attribute__((weak, alias("FT_Stream_ReadChar")));
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_ReadShort( FT_Stream stream,
|
||||
@@ -470,6 +511,9 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Short )
|
||||
+ FT_Read_Short( FT_Stream, FT_Error* ) __attribute__((weak, alias("FT_Stream_ReadShort")));
|
||||
+
|
||||
|
||||
FT_BASE_DEF( FT_Short )
|
||||
FT_Stream_ReadShortLE( FT_Stream stream,
|
||||
@@ -517,6 +561,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Short )
|
||||
+ FT_Read_ShortLE( FT_Stream, FT_Error* ) __attribute__((weak, alias("FT_Stream_ReadShortLE")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_ReadOffset( FT_Stream stream,
|
||||
@@ -564,6 +610,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Long )
|
||||
+ FT_Read_Offset( FT_Stream, FT_Error* ) __attribute__((weak, alias("FT_Stream_ReadOffset")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_ReadLong( FT_Stream stream,
|
||||
@@ -610,6 +658,8 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Long )
|
||||
+ FT_Read_Long( FT_Stream, FT_Error* ) __attribute__((weak, alias("FT_Stream_ReadLong")));
|
||||
|
||||
FT_BASE_DEF( FT_Long )
|
||||
FT_Stream_ReadLongLE( FT_Stream stream,
|
||||
@@ -657,6 +707,9 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
+ FT_BASE_DEF( FT_Long )
|
||||
+ FT_Read_LongLE( FT_Stream, FT_Error* ) __attribute__((weak, alias("FT_Stream_ReadLongLE")));
|
||||
+
|
||||
|
||||
FT_BASE_DEF( FT_Error )
|
||||
FT_Stream_ReadFields( FT_Stream stream,
|
||||
@@ -799,5 +852,6 @@
|
||||
return error;
|
||||
}
|
||||
|
||||
-
|
||||
+ FT_BASE_DEF( FT_Error )
|
||||
+ FT_Read_Fields( FT_Stream, const FT_Frame_Field*, void* ) __attribute__((weak, alias("FT_Stream_ReadFields")));
|
||||
/* END */
|
3
ft2demos-2.3.5.tar.bz2
Normal file
3
ft2demos-2.3.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e8456b1d2ebc9f262d2433735eb1ed8ce588fb30e1dafed5e2a7597f3df4a73
|
||||
size 159532
|
17
ft2demos-bc.patch
Normal file
17
ft2demos-bc.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -ru ft2demos-2.2.1.orig/Makefile ft2demos-2.2.1/Makefile
|
||||
--- ft2demos-2.2.1.orig/Makefile 2006-05-10 18:20:49.000000000 +0200
|
||||
+++ ft2demos-2.2.1/Makefile 2006-06-21 12:03:53.000000000 +0200
|
||||
@@ -262,9 +262,9 @@
|
||||
# Only uncomment the following lines if the truetype driver was
|
||||
# compiled with TT_CONFIG_OPTION_BYTECODE_INTERPRETER defined.
|
||||
#
|
||||
- # ifneq ($(findstring $(PLATFORM),os2 unix win32),)
|
||||
- # EXES += ttdebug
|
||||
- # endif
|
||||
+ ifneq ($(findstring $(PLATFORM),os2 unix win32),)
|
||||
+ EXES += ttdebug
|
||||
+ endif
|
||||
|
||||
exes: $(EXES:%=$(BIN_DIR_2)/%$E)
|
||||
|
||||
|
12
ft2demos-build-testname.patch
Normal file
12
ft2demos-build-testname.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru ft2demos-2.2.1.orig/Makefile ft2demos-2.2.1/Makefile
|
||||
--- ft2demos-2.2.1.orig/Makefile 2006-05-10 18:20:49.000000000 +0200
|
||||
+++ ft2demos-2.2.1/Makefile 2006-06-21 12:48:13.000000000 +0200
|
||||
@@ -439,7 +439,7 @@
|
||||
$(LINK)
|
||||
|
||||
$(BIN_DIR_2)/testname$E: $(OBJ_DIR_2)/testname.$(SO) $(FTLIB)
|
||||
- $(LINK)
|
||||
+ $(LINK_COMMON)
|
||||
|
||||
|
||||
$(BIN_DIR_2)/ftview$E: $(OBJ_DIR_2)/ftview.$(SO) $(FTLIB) \
|
450
ft2demos.changes
Normal file
450
ft2demos.changes
Normal file
@ -0,0 +1,450 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 20 15:56:55 CEST 2007 - sbrabec@suse.cz
|
||||
|
||||
- Commented out NoSource to provide comfortable rebuild.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 03 16:19:11 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.5. Extract from the doc/CHANGES file:
|
||||
• Some subglyphs in TrueType fonts were handled incorrectly due
|
||||
to a missing graphics state reinitialization.
|
||||
• Large .Z files (as distributed with some X11 packages)
|
||||
weren't handled correctly, making FreeType increase the heap
|
||||
stack in an endless loop.
|
||||
• A large number of bugs have been fixed to avoid crashes and
|
||||
endless loops with invalid fonts.
|
||||
• The two new cache functions `FTC_ImageCache_LookupScaler' and
|
||||
`FTC_SBit_Cache_LookupScaler' have been added to allow lookup of
|
||||
glyphs using an `FTC_Scaler' object; this makes it possible to
|
||||
use fractional pixel sizes in the cache. The demo programs have
|
||||
been updated accordingly to use this feature.
|
||||
• A new API `FT_Get_CMap_Format' has been added to get the
|
||||
cmap format of a TrueType font. This is useful in handling
|
||||
PDF files. The code has been contributed by Derek Clegg.
|
||||
• The auto-hinter now produces better output by default for
|
||||
non-Latin scripts like Indic. This was done by using the CJK
|
||||
hinting module as the default instead of the Latin one. Thanks
|
||||
to Rahul Bhalerao for this suggestion.
|
||||
• A new API `FT_Face_CheckTrueTypePatents' has been added to find
|
||||
out whether a given TrueType font uses patented bytecode
|
||||
instructions. The `ft2demos' bundle contains a new program
|
||||
called `ftpatchk' which demonstrates its usage.
|
||||
• A new API `FT_Face_SetUnpatentedHinting' has been added to
|
||||
enable or disable the unpatented hinter.
|
||||
• Support for Windows FON files in PE format has been contributed
|
||||
by Dmitry Timoshkov.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 04 14:58:01 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #275072: (from upstream CVS):
|
||||
Check for negative number of points in contours. Problem
|
||||
reported by Victor Stinner <victor.stinner@haypocalc.com>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 22 16:47:15 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- fix last patch to avoid crashes when loader->exec == NULL.
|
||||
(caused crashes in xpdf, kpdf, acroread for me for many
|
||||
.pdf files).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 10 16:42:14 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.4. Extract from the doc/CHANGES file:
|
||||
• A serious bug in the handling of bitmap fonts (and bitmap
|
||||
strikes of outline fonts) has been introduced in 2.3.3.
|
||||
• Remove a serious regression in the TrueType bytecode
|
||||
interpreter that was introduced in version 2.3.2. Note that
|
||||
this does not disable the improvements introduced to the
|
||||
interpreter in version 2.3.2, only some ill cases that occurred
|
||||
with certain fonts (though a few popular ones).
|
||||
• The auto-hinter now ignores single-point contours for
|
||||
computing blue zones. This bug created `wavy' baselines when
|
||||
rendering text with various fonts that use these contours to
|
||||
model mark-attach points (these are points that are never
|
||||
rasterized and are placed outside of the glyph's real
|
||||
outline).
|
||||
• The `rsb_delta' and `lsb_delta' glyph slot fields are now set
|
||||
to 0 for mono-spaced fonts. Otherwise code that uses them
|
||||
would essentially ruin the fixed-advance property.
|
||||
• Fix CVE-2007-1351 which can cause an integer overflow while
|
||||
parsing BDF fonts, leading to a potentially exploitable heap
|
||||
overflow condition.
|
||||
• FreeType returned incorrect kerning information from TrueType
|
||||
fonts when the bytecode interpreter was enabled. This
|
||||
happened due to a typo introduced in version 2.3.0.
|
||||
• Negative kerning values from PFM files are now reported
|
||||
correctly (they were read as 16-bit unsigned values from the
|
||||
file).
|
||||
• Fixed a small memory leak when `FT_Init_FreeType' failed for
|
||||
some reason.
|
||||
• The Postscript hinter placed and sized very thin and ghost
|
||||
stems incorrectly.
|
||||
• The TrueType bytecode interpreter has been fixed to get rid
|
||||
of most of the rare differences seen in comparison to the
|
||||
Windows font loader.
|
||||
• A new demo program `ftdiff' has been added to compare
|
||||
TrueType hinting, FreeType's auto hinting, and rendering
|
||||
without hinting in three columns.
|
||||
• The auto-hinter now better deals with serifs and corner cases
|
||||
(e.g., glyph '9' in Arial at 9pt, 96dpi). It also improves
|
||||
spacing adjustments and doesn't change widths for non-spacing
|
||||
glyphs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 19:36:32 CEST 2007 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #258335: fix buffer overflow in handling of bdf fonts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 05 16:03:56 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.1.
|
||||
• The TrueType interpreter sometimes returned incorrect
|
||||
horizontal metrics due to a bug in the handling of the SHZ
|
||||
instruction.
|
||||
• A typo in a security check introduced after
|
||||
version 2.2.1 prevented FreeType to render some glyphs in CFF
|
||||
fonts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 21 14:25:09 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.3.0 (from rc1 to final release)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 20:54:24 CET 2007 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1.20070112 (= 2.3.0rc1).
|
||||
• bugzilla #231417 fixed, see ChangeLog:
|
||||
2007-01-10 David Turner <david at freetype.org>
|
||||
[...]
|
||||
* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
|
||||
fixed a typo which created an endless loop with some malformed
|
||||
font files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 19:03:37 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #222693: disable bugzilla-159166-reduce-embolden-distance.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 09 16:02:31 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #216793: "local variable used before set"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 07 13:30:08 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #217388: fix advance handling in FT_GlyphSlot_Embolden()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 17:25:35 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #158573: update to 2.2.1.20061027.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 20 12:31:40 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- disable the recent fixes of the byte code interpreter because
|
||||
if breaks the rendering of "Luxi Mono"
|
||||
(/usr/share/fonts/truetype/luximr.ttf) See also:
|
||||
http://lists.gnu.org/archive/html/freetype/2006-10/msg00034.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 14:20:44 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1.20061013
|
||||
• Add support for LCD color filtering to ftview.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 15:43:36 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- use "Supplements: fonts-config" only for SuSE Linux >= 10.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 10 18:03:30 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #195835: add "Supplements: fonts-config" to .spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 10:41:02 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #190902: add patch from upstream CVS to handle
|
||||
bad PCF files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 18:04:29 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- update to 2.2.1:
|
||||
+ remove bugzilla-97202-fix-x-crash.patch
|
||||
+ remove bugzilla-157441-autofit-cjk-cvs.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158156-memory-leak.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158573-fix-orientation-detection.patch
|
||||
(included upstream).
|
||||
+ remove bugzilla-133086-enable-kerning.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-154928-integer-overflows.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-159304-fix-ftview-glyph-index.patch
|
||||
(fixed upstream).
|
||||
+ remove enable_ft_optimize_memory.patch (is already enabled by
|
||||
default now).
|
||||
+ adapt bugzilla-159166-reduce-embolden-distance.patch a little
|
||||
bit to achieve the same boldness effect as with the last
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 01 13:02:51 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #154928: fix several integer overflows.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 17:27:36 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #133086: enable kerning, see
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2005-09/msg00027.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 14:04:10 CET 2006 - dmueller@suse.de
|
||||
|
||||
- build parallel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 04:53:01 CET 2006 - zsu@suse.de
|
||||
|
||||
- Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts.
|
||||
- Bugzilla #159166: reduce embolden strength to get better rendering
|
||||
effect.
|
||||
- Bugzilla #159304: fix wrong glyph index handling in ftview when
|
||||
rendering embolden or outline mode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 16:02:12 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #157441: remove 0x0100-0xFFFF from CJK Unicode range,
|
||||
as it might cause side effects for non-CJK scripts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 13:12:47 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #158156: fix a memory leak (by Zhe Su <zsu@novell.com>).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 18:16:30 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #157441: instead of Takashi's patches, use a patch
|
||||
from upstream CVS which renders slightly better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 14:38:57 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #157441: FZSongTi.ttf contains a lot more (CJK)-glyphs
|
||||
than most other fonts, therefore we have to expand the cjk range
|
||||
in Takashi Iwai's "ft2-autofit-02-cjk.diff" to render these
|
||||
glyphs correctly as well.
|
||||
- Bugzilla #157441: don't apply ft2-autofit-03-latin-baseline.diff
|
||||
as it has some side effects.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:13 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 09 16:11:04 CET 2006 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #105626: add patches by Takashi IWAI <tiwai@suse.de>
|
||||
to improve the autohinting (mainly for CJK fonts).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 21 18:24:21 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- fix typo in .spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 20 10:45:55 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #97202: apply workaround to avoid crashing the Xserver.
|
||||
I need to disable FT_OPTIMIZE_MEMORY again to apply that
|
||||
workaround.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 19 16:05:32 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- enable FT_OPTIMIZE_MEMORY.
|
||||
- enable the byte code interpreter again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 12 14:13:56 CEST 2005 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.10.
|
||||
+ fixes serious bug introduced in 2.1.8 which caused many
|
||||
distortions for TrueType fonts
|
||||
+ amount of heap memory used is drastically reduced
|
||||
For more details see /usr/share/doc/packages/freetype2/CHANGES.
|
||||
- disable freetype-autohint-cjkfonts.patch for the moment, the
|
||||
auto-hinter has been replaced with a new module called the
|
||||
'auto-fitter' which is "prepared better to support non-latin1
|
||||
scripts in next releases". Currently the rendering quality of
|
||||
CJK fonts seems to have suffered though compared to 2.1.9
|
||||
with the freetype-autohint-cjkfonts.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 4 17:03:01 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use system zlib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 6 18:31:00 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.9.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 10 15:45:26 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.8.
|
||||
remove the bdf-pcf fixes for bitmap font metric issues which
|
||||
were backported from CVS, they are included in this release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 11:14:05 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #38205:
|
||||
add patch from http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7
|
||||
to improve the hinting results (mainly for CJK fonts).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 24 01:14:22 CET 2004 - mfabian@suse.de
|
||||
|
||||
- Add ft2-stream-compat.diff for binary compatibility when
|
||||
upgrading from SLES8 to SLES9.
|
||||
The FT_Stream functions have been renamed and although these
|
||||
functions were declared for internal use only by the freetype
|
||||
developers, they have been used in Qt (and possibly elsewhere).
|
||||
Therefore, 3rd party which linked statically against Qt might
|
||||
not work after upgrading from SLES8 to SLES9.
|
||||
Fix this problem with a patch by Kurt Garloff <garloff@suse.de>
|
||||
which defines appropriate weak symbols.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 16 12:02:08 CET 2004 - mfabian@suse.de
|
||||
|
||||
- fix Bugzilla# 36143: backport fixes for bitmap font metric issues
|
||||
from CVS to fix crashes when using bitmap fonts caused by the
|
||||
new libXft-2.1.5 from the X.org tree.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 15 12:37:11 CET 2004 - mfabian@suse.de
|
||||
|
||||
- mark freetype2 tarball as Nosource, it is already in the source
|
||||
rpm of the main freetype2 package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 12 09:45:40 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 9 14:57:51 CET 2004 - mfabian@suse.de
|
||||
|
||||
- add "-fno-strict-aliasing" compile option to prevent crashes
|
||||
for example in ftdump and mkfontscale.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 17 19:36:47 CET 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.7.
|
||||
- remove freetype2-type1.patch (included upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 9 00:26:48 CEST 2003 - schwab@suse.de
|
||||
|
||||
- Fix invalid free.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 16:13:30 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.5.
|
||||
- remove freetype-bdf-pcf-drivr.patch, freetype2-bitmap-style.patch
|
||||
(included upstream).
|
||||
- remove gzip-eof.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 12:05:01 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- add gzip-eof.patch to fix the problem that some gzipped bitmap
|
||||
fonts could not be opened by freetype2.
|
||||
See also:
|
||||
http://marc.theaimsgroup.com/?l=freetype-devel&m=105505219505600&w=2
|
||||
and followups.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 26 23:29:14 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- add freetype2-bitmap-style.patch: check the bdf properties
|
||||
WEIGHT_NAME and SLANT case insensitively. Without that,
|
||||
these properties are not correctly recognized when the fonts
|
||||
specify them in lower case.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 16 20:30:32 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- don't install files which will not be packaged.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 8 16:12:25 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- update to 2.1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 4 12:34:32 CEST 2003 - mfabian@suse.de
|
||||
|
||||
- freetype updated to 2.1.4rc2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 22:02:17 CET 2003 - mfabian@suse.de
|
||||
|
||||
- Bug #24755: further improvement: add " Wide" to the family name
|
||||
for fonts which have an average width >= point size, i.e. fonts
|
||||
which have glyphs which are at least square (or maybe even
|
||||
wider). This makes fonts which contain only double width
|
||||
characters (for example the "misc-fixed" 18x18ja.bdf) clearly
|
||||
distinct from single width fonts of the same family and
|
||||
avoids that they get accidentally selected via freetype2/Xft2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 16:17:39 CET 2003 - mfabian@suse.de
|
||||
|
||||
- Bug #24775: partly fixed by a patch to freetype which returns
|
||||
"FOUNDRY FAMILY_NAME" as the family_name for bitmap fonts.
|
||||
Without that change, all bitmap fonts which have "Fixed"
|
||||
in FAMILY_NAME also had the same family_name "Fixed" via
|
||||
freetype/Xft2 and it was not possible to distinguish between
|
||||
them, therefore the selection of "Fixed" bitmap fonts produced
|
||||
quite surprising results. After this change, the fonts show
|
||||
up for example as "Misc Fixed", "Etl Fixed", etc. via
|
||||
freetype2/Xft2, which makes it easy to select the right one.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 16:29:45 CET 2003 - mfabian@suse.de
|
||||
|
||||
- add freetype2-bc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 25 21:57:05 CET 2003 - mfabian@suse.de
|
||||
|
||||
- use the original names for the utilities, i.e. ftdump
|
||||
instead of ft2dump, etc. ... (I renamed the utilities
|
||||
in freetype1 to ft1dump, ft1view, etc. ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 18:20:36 CET 2003 - mfabian@suse.de
|
||||
|
||||
- new package ft2demos, version 2.1.3
|
||||
|
||||
|
411
ft2demos.spec
Normal file
411
ft2demos.spec
Normal file
@ -0,0 +1,411 @@
|
||||
#
|
||||
# spec file for package ft2demos (Version 2.3.5)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: ft2demos
|
||||
BuildRequires: xorg-x11-devel
|
||||
License: GPL v2 or later
|
||||
Group: Productivity/Publishing/Other
|
||||
Autoreqprov: on
|
||||
%if %suse_version > 1000
|
||||
Supplements: fonts-config
|
||||
%endif
|
||||
Version: 2.3.5
|
||||
Release: 12
|
||||
%define freetype_version %{version}
|
||||
URL: http://www.freetype.org
|
||||
Summary: Freetype2 Utilities and Demo Programs
|
||||
# CVS repository:
|
||||
# cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype login
|
||||
# cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype co freetype2
|
||||
# cvs -d :pserver:anonymous@cvs.savannah.nongnu.org:/sources/freetype co ft2demos
|
||||
Source0: http://savannah.nongnu.org/download/freetype/freetype-%{version}.tar.bz2
|
||||
# Uncomment to save space:
|
||||
#NoSource: 0
|
||||
Source1: http://savannah.nongnu.org/download/freetype/ft2demos-%{version}.tar.bz2
|
||||
# pregenerated to avoid build-dependence on python:
|
||||
Source2: freetype-doc-reference.tar.bz2
|
||||
Patch3: freetype2-bitmap-foundry.patch
|
||||
Patch4: ft2-stream-compat.diff
|
||||
Patch5: revert-fix-bytecode.patch
|
||||
Patch8: bugzilla-159166-reduce-embolden-distance.patch
|
||||
Patch50: ft2demos-build-testname.patch
|
||||
Patch100: freetype2-bc.patch
|
||||
Patch101: ft2demos-bc.patch
|
||||
Patch200: freetype2-subpixel.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Freetype2 utilities and demo programs.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
David Turner <david.turner@freetype.org>
|
||||
Robert Wilhelm <robert.wilhelm@freetype.org>
|
||||
Werner Lemberg <werner.lemberg@freetype.org>
|
||||
|
||||
%prep
|
||||
# The byte code interpreter is compiled in by default
|
||||
# because of the following option.
|
||||
# For most fonts it is disabled again by default in the
|
||||
# fontconfig setup in /etc/fonts. But if it is already
|
||||
# enabled at compilation time, it can be easily enabled
|
||||
# at runtime. See also the variable BYTECODE_BW_MAX_PIXEL
|
||||
# in /etc/sysconfig/fonts-config.
|
||||
#
|
||||
%define enable_bytecode_interpreter 1
|
||||
%define enable_subpixel_rendering 0%{?opensuse_bs}
|
||||
%setup -n freetype-%{freetype_version} -b 1
|
||||
%patch3 -p 1 -b .bitmap-foundry
|
||||
%patch4 -p 1 -b .ft2-stream-compat
|
||||
#%patch5 -p 1
|
||||
#%patch8 -p 1
|
||||
pushd ../ft2demos-%{version}
|
||||
%patch50 -p 1
|
||||
popd
|
||||
%if %{enable_bytecode_interpreter}
|
||||
%patch100 -p 1 -b .bytecode
|
||||
%endif
|
||||
# pushd ../ft2demos-%{version}
|
||||
# %patch101 -p 1
|
||||
# popd
|
||||
%if %{enable_subpixel_rendering}
|
||||
%patch200 -p 1 -b .subpixel
|
||||
%endif
|
||||
pushd docs
|
||||
tar xf $RPM_SOURCE_DIR/freetype-doc-reference.tar.bz2
|
||||
popd
|
||||
find . -name CVS -type d | xargs rm -rf
|
||||
find . -name ".cvsignore" | xargs rm -f
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
sh ./autogen.sh
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing "
|
||||
make setup CFG="--prefix=/usr --libdir=%{_libdir} --with-zlib"
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing "
|
||||
make prefix=/usr libdir=%{_libdir} %{?jobs:-j %jobs}
|
||||
# build the documentation in the references subdirectory:
|
||||
# (this needs python and we cannot have python in the BuildRequires of
|
||||
# a basic package like freetype2, therefore we cannot do it here but we have
|
||||
# to generate this documentation manually)
|
||||
# make refdoc
|
||||
pushd ..
|
||||
ln -s freetype-%{freetype_version} freetype2
|
||||
cd ft2demos-%{version}
|
||||
make prefix=/usr libdir=%{_libdir} \
|
||||
X11_PATH="/usr/X11R6" \
|
||||
LDFLAGS="-L/usr/X11R6/%{_lib} -lm "
|
||||
popd
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT;
|
||||
#make prefix=$RPM_BUILD_ROOT/usr libdir=$RPM_BUILD_ROOT/%{_libdir} install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
pushd ../ft2demos-%{version}/bin/.libs
|
||||
install -m 755 ft* testname $RPM_BUILD_ROOT%{_bindir}
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/ft*
|
||||
%{_bindir}/testname
|
||||
|
||||
%changelog
|
||||
* Mon Aug 20 2007 - sbrabec@suse.cz
|
||||
- Commented out NoSource to provide comfortable rebuild.
|
||||
* Tue Jul 03 2007 - mfabian@suse.de
|
||||
- update to 2.3.5. Extract from the doc/CHANGES file:
|
||||
• Some subglyphs in TrueType fonts were handled incorrectly due
|
||||
to a missing graphics state reinitialization.
|
||||
• Large .Z files (as distributed with some X11 packages)
|
||||
weren't handled correctly, making FreeType increase the heap
|
||||
stack in an endless loop.
|
||||
• A large number of bugs have been fixed to avoid crashes and
|
||||
endless loops with invalid fonts.
|
||||
• The two new cache functions `FTC_ImageCache_LookupScaler' and
|
||||
`FTC_SBit_Cache_LookupScaler' have been added to allow lookup of
|
||||
glyphs using an `FTC_Scaler' object; this makes it possible to
|
||||
use fractional pixel sizes in the cache. The demo programs have
|
||||
been updated accordingly to use this feature.
|
||||
• A new API `FT_Get_CMap_Format' has been added to get the
|
||||
cmap format of a TrueType font. This is useful in handling
|
||||
PDF files. The code has been contributed by Derek Clegg.
|
||||
• The auto-hinter now produces better output by default for
|
||||
non-Latin scripts like Indic. This was done by using the CJK
|
||||
hinting module as the default instead of the Latin one. Thanks
|
||||
to Rahul Bhalerao for this suggestion.
|
||||
• A new API `FT_Face_CheckTrueTypePatents' has been added to find
|
||||
out whether a given TrueType font uses patented bytecode
|
||||
instructions. The `ft2demos' bundle contains a new program
|
||||
called `ftpatchk' which demonstrates its usage.
|
||||
• A new API `FT_Face_SetUnpatentedHinting' has been added to
|
||||
enable or disable the unpatented hinter.
|
||||
• Support for Windows FON files in PE format has been contributed
|
||||
by Dmitry Timoshkov.
|
||||
* Mon Jun 04 2007 - mfabian@suse.de
|
||||
- Bugzilla #275072: (from upstream CVS):
|
||||
Check for negative number of points in contours. Problem
|
||||
reported by Victor Stinner <victor.stinner@haypocalc.com>.
|
||||
* Tue May 22 2007 - mfabian@suse.de
|
||||
- fix last patch to avoid crashes when loader->exec == NULL.
|
||||
(caused crashes in xpdf, kpdf, acroread for me for many
|
||||
.pdf files).
|
||||
* Tue Apr 10 2007 - mfabian@suse.de
|
||||
- update to 2.3.4. Extract from the doc/CHANGES file:
|
||||
• A serious bug in the handling of bitmap fonts (and bitmap
|
||||
strikes of outline fonts) has been introduced in 2.3.3.
|
||||
• Remove a serious regression in the TrueType bytecode
|
||||
interpreter that was introduced in version 2.3.2. Note that
|
||||
this does not disable the improvements introduced to the
|
||||
interpreter in version 2.3.2, only some ill cases that occurred
|
||||
with certain fonts (though a few popular ones).
|
||||
• The auto-hinter now ignores single-point contours for
|
||||
computing blue zones. This bug created `wavy' baselines when
|
||||
rendering text with various fonts that use these contours to
|
||||
model mark-attach points (these are points that are never
|
||||
rasterized and are placed outside of the glyph's real
|
||||
outline).
|
||||
• The `rsb_delta' and `lsb_delta' glyph slot fields are now set
|
||||
to 0 for mono-spaced fonts. Otherwise code that uses them
|
||||
would essentially ruin the fixed-advance property.
|
||||
• Fix CVE-2007-1351 which can cause an integer overflow while
|
||||
parsing BDF fonts, leading to a potentially exploitable heap
|
||||
overflow condition.
|
||||
• FreeType returned incorrect kerning information from TrueType
|
||||
fonts when the bytecode interpreter was enabled. This
|
||||
happened due to a typo introduced in version 2.3.0.
|
||||
• Negative kerning values from PFM files are now reported
|
||||
correctly (they were read as 16-bit unsigned values from the
|
||||
file).
|
||||
• Fixed a small memory leak when `FT_Init_FreeType' failed for
|
||||
some reason.
|
||||
• The Postscript hinter placed and sized very thin and ghost
|
||||
stems incorrectly.
|
||||
• The TrueType bytecode interpreter has been fixed to get rid
|
||||
of most of the rare differences seen in comparison to the
|
||||
Windows font loader.
|
||||
• A new demo program `ftdiff' has been added to compare
|
||||
TrueType hinting, FreeType's auto hinting, and rendering
|
||||
without hinting in three columns.
|
||||
• The auto-hinter now better deals with serifs and corner cases
|
||||
(e.g., glyph '9' in Arial at 9pt, 96dpi). It also improves
|
||||
spacing adjustments and doesn't change widths for non-spacing
|
||||
glyphs.
|
||||
* Wed Mar 28 2007 - mfabian@suse.de
|
||||
- Bugzilla #258335: fix buffer overflow in handling of bdf fonts.
|
||||
* Mon Feb 05 2007 - mfabian@suse.de
|
||||
- update to 2.3.1.
|
||||
• The TrueType interpreter sometimes returned incorrect
|
||||
horizontal metrics due to a bug in the handling of the SHZ
|
||||
instruction.
|
||||
• A typo in a security check introduced after
|
||||
version 2.2.1 prevented FreeType to render some glyphs in CFF
|
||||
fonts.
|
||||
* Sun Jan 21 2007 - mfabian@suse.de
|
||||
- update to 2.3.0 (from rc1 to final release)
|
||||
* Fri Jan 12 2007 - mfabian@suse.de
|
||||
- update to 2.2.1.20070112 (= 2.3.0rc1).
|
||||
• bugzilla #231417 fixed, see ChangeLog:
|
||||
2007-01-10 David Turner <david at freetype.org>
|
||||
[...]
|
||||
* src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
|
||||
fixed a typo which created an endless loop with some malformed
|
||||
font files
|
||||
* Wed Nov 22 2006 - mfabian@suse.de
|
||||
- Bugzilla #222693: disable bugzilla-159166-reduce-embolden-distance.patch
|
||||
* Thu Nov 09 2006 - mfabian@suse.de
|
||||
- Bugzilla #216793: "local variable used before set"
|
||||
* Tue Nov 07 2006 - mfabian@suse.de
|
||||
- Bugzilla #217388: fix advance handling in FT_GlyphSlot_Embolden()
|
||||
* Fri Oct 27 2006 - mfabian@suse.de
|
||||
- Bugzilla #158573: update to 2.2.1.20061027.
|
||||
* Fri Oct 20 2006 - mfabian@suse.de
|
||||
- disable the recent fixes of the byte code interpreter because
|
||||
if breaks the rendering of "Luxi Mono"
|
||||
(/usr/share/fonts/truetype/luximr.ttf) See also:
|
||||
http://lists.gnu.org/archive/html/freetype/2006-10/msg00034.html
|
||||
* Fri Oct 13 2006 - mfabian@suse.de
|
||||
- update to 2.2.1.20061013
|
||||
• Add support for LCD color filtering to ftview.
|
||||
* Wed Aug 16 2006 - mfabian@suse.de
|
||||
- use "Supplements: fonts-config" only for SuSE Linux >= 10.1.
|
||||
* Thu Aug 10 2006 - mfabian@suse.de
|
||||
- Bugzilla #195835: add "Supplements: fonts-config" to .spec file.
|
||||
* Mon Jul 10 2006 - mfabian@suse.de
|
||||
- Bugzilla #190902: add patch from upstream CVS to handle
|
||||
bad PCF files.
|
||||
* Tue Jun 20 2006 - mfabian@suse.de
|
||||
- update to 2.2.1:
|
||||
+ remove bugzilla-97202-fix-x-crash.patch
|
||||
+ remove bugzilla-157441-autofit-cjk-cvs.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158156-memory-leak.patch
|
||||
(was from upstream CVS).
|
||||
+ remove bugzilla-158573-fix-orientation-detection.patch
|
||||
(included upstream).
|
||||
+ remove bugzilla-133086-enable-kerning.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-154928-integer-overflows.patch
|
||||
(was from upstream).
|
||||
+ remove bugzilla-159304-fix-ftview-glyph-index.patch
|
||||
(fixed upstream).
|
||||
+ remove enable_ft_optimize_memory.patch (is already enabled by
|
||||
default now).
|
||||
+ adapt bugzilla-159166-reduce-embolden-distance.patch a little
|
||||
bit to achieve the same boldness effect as with the last
|
||||
package.
|
||||
* Thu Jun 01 2006 - mfabian@suse.de
|
||||
- Bugzilla #154928: fix several integer overflows.
|
||||
* Mon Apr 24 2006 - mfabian@suse.de
|
||||
- Bugzilla #133086: enable kerning, see
|
||||
http://lists.nongnu.org/archive/html/freetype-devel/2005-09/msg00027.html
|
||||
* Tue Mar 21 2006 - dmueller@suse.de
|
||||
- build parallel
|
||||
* Mon Mar 20 2006 - zsu@suse.de
|
||||
- Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts.
|
||||
- Bugzilla #159166: reduce embolden strength to get better rendering
|
||||
effect.
|
||||
- Bugzilla #159304: fix wrong glyph index handling in ftview when
|
||||
rendering embolden or outline mode.
|
||||
* Wed Mar 15 2006 - mfabian@suse.de
|
||||
- Bugzilla #157441: remove 0x0100-0xFFFF from CJK Unicode range,
|
||||
as it might cause side effects for non-CJK scripts.
|
||||
* Wed Mar 15 2006 - mfabian@suse.de
|
||||
- Bugzilla #158156: fix a memory leak (by Zhe Su <zsu@novell.com>).
|
||||
* Tue Mar 14 2006 - mfabian@suse.de
|
||||
- Bugzilla #157441: instead of Takashi's patches, use a patch
|
||||
from upstream CVS which renders slightly better.
|
||||
* Tue Mar 14 2006 - mfabian@suse.de
|
||||
- Bugzilla #157441: FZSongTi.ttf contains a lot more (CJK)-glyphs
|
||||
than most other fonts, therefore we have to expand the cjk range
|
||||
in Takashi Iwai's "ft2-autofit-02-cjk.diff" to render these
|
||||
glyphs correctly as well.
|
||||
- Bugzilla #157441: don't apply ft2-autofit-03-latin-baseline.diff
|
||||
as it has some side effects.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 09 2006 - mfabian@suse.de
|
||||
- Bugzilla #105626: add patches by Takashi IWAI <tiwai@suse.de>
|
||||
to improve the autohinting (mainly for CJK fonts).
|
||||
* Thu Jul 21 2005 - mfabian@suse.de
|
||||
- fix typo in .spec file.
|
||||
* Wed Jul 20 2005 - mfabian@suse.de
|
||||
- Bugzilla #97202: apply workaround to avoid crashing the Xserver.
|
||||
I need to disable FT_OPTIMIZE_MEMORY again to apply that
|
||||
workaround.
|
||||
* Tue Jul 19 2005 - mfabian@suse.de
|
||||
- enable FT_OPTIMIZE_MEMORY.
|
||||
- enable the byte code interpreter again.
|
||||
* Tue Jul 12 2005 - mfabian@suse.de
|
||||
- update to 2.1.10.
|
||||
+ fixes serious bug introduced in 2.1.8 which caused many
|
||||
distortions for TrueType fonts
|
||||
+ amount of heap memory used is drastically reduced
|
||||
For more details see /usr/share/doc/packages/freetype2/CHANGES.
|
||||
- disable freetype-autohint-cjkfonts.patch for the moment, the
|
||||
auto-hinter has been replaced with a new module called the
|
||||
'auto-fitter' which is "prepared better to support non-latin1
|
||||
scripts in next releases". Currently the rendering quality of
|
||||
CJK fonts seems to have suffered though compared to 2.1.9
|
||||
with the freetype-autohint-cjkfonts.patch.
|
||||
* Mon Jul 04 2005 - meissner@suse.de
|
||||
- use system zlib.
|
||||
* Tue Jul 06 2004 - mfabian@suse.de
|
||||
- update to 2.1.9.
|
||||
* Mon May 10 2004 - mfabian@suse.de
|
||||
- update to 2.1.8.
|
||||
remove the bdf-pcf fixes for bitmap font metric issues which
|
||||
were backported from CVS, they are included in this release
|
||||
* Fri Apr 16 2004 - mfabian@suse.de
|
||||
- Bugzilla #38205:
|
||||
add patch from http://www.kde.gr.jp/~akito/patch/freetype2/2.1.7
|
||||
to improve the hinting results (mainly for CJK fonts).
|
||||
* Wed Mar 24 2004 - mfabian@suse.de
|
||||
- Add ft2-stream-compat.diff for binary compatibility when
|
||||
upgrading from SLES8 to SLES9.
|
||||
The FT_Stream functions have been renamed and although these
|
||||
functions were declared for internal use only by the freetype
|
||||
developers, they have been used in Qt (and possibly elsewhere).
|
||||
Therefore, 3rd party which linked statically against Qt might
|
||||
not work after upgrading from SLES8 to SLES9.
|
||||
Fix this problem with a patch by Kurt Garloff <garloff@suse.de>
|
||||
which defines appropriate weak symbols.
|
||||
* Tue Mar 16 2004 - mfabian@suse.de
|
||||
- fix Bugzilla# 36143: backport fixes for bitmap font metric issues
|
||||
from CVS to fix crashes when using bitmap fonts caused by the
|
||||
new libXft-2.1.5 from the X.org tree.
|
||||
* Mon Mar 15 2004 - mfabian@suse.de
|
||||
- mark freetype2 tarball as Nosource, it is already in the source
|
||||
rpm of the main freetype2 package.
|
||||
* Mon Jan 12 2004 - adrian@suse.de
|
||||
- add %%defattr
|
||||
* Fri Jan 09 2004 - mfabian@suse.de
|
||||
- add "-fno-strict-aliasing" compile option to prevent crashes
|
||||
for example in ftdump and mkfontscale.
|
||||
* Wed Dec 17 2003 - mfabian@suse.de
|
||||
- update to 2.1.7.
|
||||
- remove freetype2-type1.patch (included upstream)
|
||||
* Thu Oct 09 2003 - schwab@suse.de
|
||||
- Fix invalid free.
|
||||
* Fri Sep 26 2003 - mfabian@suse.de
|
||||
- update to 2.1.5.
|
||||
- remove freetype-bdf-pcf-drivr.patch, freetype2-bitmap-style.patch
|
||||
(included upstream).
|
||||
- remove gzip-eof.patch.
|
||||
* Mon Sep 01 2003 - mfabian@suse.de
|
||||
- add gzip-eof.patch to fix the problem that some gzipped bitmap
|
||||
fonts could not be opened by freetype2.
|
||||
See also:
|
||||
http://marc.theaimsgroup.com/?l=freetype-devel&m=105505219505600&w=2
|
||||
and followups.
|
||||
* Tue Aug 26 2003 - mfabian@suse.de
|
||||
- add freetype2-bitmap-style.patch: check the bdf properties
|
||||
WEIGHT_NAME and SLANT case insensitively. Without that,
|
||||
these properties are not correctly recognized when the fonts
|
||||
specify them in lower case.
|
||||
* Fri May 16 2003 - mfabian@suse.de
|
||||
- don't install files which will not be packaged.
|
||||
* Tue Apr 08 2003 - mfabian@suse.de
|
||||
- update to 2.1.4
|
||||
* Fri Apr 04 2003 - mfabian@suse.de
|
||||
- freetype updated to 2.1.4rc2
|
||||
* Fri Mar 07 2003 - mfabian@suse.de
|
||||
- Bug #24755: further improvement: add " Wide" to the family name
|
||||
for fonts which have an average width >= point size, i.e. fonts
|
||||
which have glyphs which are at least square (or maybe even
|
||||
wider). This makes fonts which contain only double width
|
||||
characters (for example the "misc-fixed" 18x18ja.bdf) clearly
|
||||
distinct from single width fonts of the same family and
|
||||
avoids that they get accidentally selected via freetype2/Xft2.
|
||||
* Fri Mar 07 2003 - mfabian@suse.de
|
||||
- Bug #24775: partly fixed by a patch to freetype which returns
|
||||
"FOUNDRY FAMILY_NAME" as the family_name for bitmap fonts.
|
||||
Without that change, all bitmap fonts which have "Fixed"
|
||||
in FAMILY_NAME also had the same family_name "Fixed" via
|
||||
freetype/Xft2 and it was not possible to distinguish between
|
||||
them, therefore the selection of "Fixed" bitmap fonts produced
|
||||
quite surprising results. After this change, the fonts show
|
||||
up for example as "Misc Fixed", "Etl Fixed", etc. via
|
||||
freetype2/Xft2, which makes it easy to select the right one.
|
||||
* Wed Jan 29 2003 - mfabian@suse.de
|
||||
- add freetype2-bc.patch
|
||||
* Sat Jan 25 2003 - mfabian@suse.de
|
||||
- use the original names for the utilities, i.e. ftdump
|
||||
instead of ft2dump, etc. ... (I renamed the utilities
|
||||
in freetype1 to ft1dump, ft1view, etc. ...
|
||||
* Mon Jan 13 2003 - mfabian@suse.de
|
||||
- new package ft2demos, version 2.1.3
|
12
revert-fix-bytecode.patch
Normal file
12
revert-fix-bytecode.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru freetype-2.2.1.20061013.orig/src/truetype/ttinterp.c freetype-2.2.1.20061013/src/truetype/ttinterp.c
|
||||
--- freetype-2.2.1.20061013.orig/src/truetype/ttinterp.c 2006-08-26 00:45:13.000000000 +0200
|
||||
+++ freetype-2.2.1.20061013/src/truetype/ttinterp.c 2006-10-20 12:10:46.000000000 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
/* define FIX_BYTECODE to implement the bytecode interpreter fixes */
|
||||
/* needed to match Windows behaviour more accurately */
|
||||
-#define FIX_BYTECODE
|
||||
+/* #define FIX_BYTECODE */
|
||||
|
||||
|
||||
#include <ft2build.h>
|
Loading…
x
Reference in New Issue
Block a user