Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162550 - media-libs/freetype-2.3.1 (stable) released
Summary: media-libs/freetype-2.3.1 (stable) released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL: https://sourceforge.net/project/shown...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 16:06 UTC by Eike Hein
Modified: 2007-02-08 18:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
freetype-2.3.0.ebuild (freetype-2.3.0.ebuild,1.86 KB, text/plain)
2007-01-30 04:37 UTC, Ron MacNeil
Details
freetype-2.3.0-bytecode.patch (freetype-2.3.0-bytecode.patch,624 bytes, patch)
2007-01-30 04:38 UTC, Ron MacNeil
Details | Diff
freetype-2.3.0-nocompat.patch (freetype-2.3.0-nocompat.patch,454 bytes, patch)
2007-01-30 04:38 UTC, Ron MacNeil
Details | Diff
freetype-2.3.0-nounpatentedhinting.patch (freetype-2.3.0-nounpatentedhinting.patch,620 bytes, patch)
2007-01-30 04:39 UTC, Ron MacNeil
Details | Diff
freetype-2.3.0-subpixel.patch (freetype-2.3.0-subpixel.patch,618 bytes, patch)
2007-01-30 04:39 UTC, Ron MacNeil
Details | Diff
10-autohint-full.conf (10-autohint-full.conf,547 bytes, text/plain)
2007-01-30 04:40 UTC, Ron MacNeil
Details
10-autohint-medium.conf (10-autohint-medium.conf,549 bytes, text/plain)
2007-01-30 04:41 UTC, Ron MacNeil
Details
10-autohint-none.conf (10-autohint-none.conf,547 bytes, text/plain)
2007-01-30 04:41 UTC, Ron MacNeil
Details
10-autohint-slight.conf (10-autohint-slight.conf,550 bytes, text/plain)
2007-01-30 04:41 UTC, Ron MacNeil
Details
10-hint.conf (10-hint.conf,355 bytes, text/plain)
2007-01-30 04:46 UTC, Ron MacNeil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Hein 2007-01-17 16:06:30 UTC
FreeType 2.3.0 is out, with significant improvements to bytecode and auto hinting, font-specific optimizations making the lives of CJK users easier, notable speed improvements and many bug and memleak fixes. 

Details: https://sourceforge.net/project/shownotes.php?release_id=479191&group_id=3157

It's unclear whether this depends on 2.2.1 going stable first (see http://bugs.gentoo.org/show_bug.cgi?id=123683).

Reproducible: Always
Comment 1 Eike Hein 2007-01-17 16:27:51 UTC
BTW, this one:

"LCD-optimized rendering is now  *disabled* in all default builds
of the library, mainly due to patent issues. For more information 
see:
http://lists.gnu.org/archive/html/freetype/2006-09/msg00064.html

A new configuration macro FT_CONFIG_OPTION_SUBPIXEL_RENDERING
has been introduced in `ftoption.h'; manually define it in this
file if you want to re-enable the feature."

... might call for a new USE flag, or at least some discussion.
Comment 2 Ron MacNeil 2007-01-30 04:34:15 UTC
Attaching an ebuild for freetype-2.3.0 that I've been running for a few days on x86 with no problems.  This enables all features, unless USE=bindist in which case features with potential patent issues in the United States are disabled:

  freetype-2.3.0.ebuild
  freetype-2.3.0-bytecode.patch
  freetype-2.3.0-nocompat.patch
  freetype-2.3.0-nounpatentedhinting.patch
  freetype-2.3.0-subpixel.patch

Also attaching some additional fontconfig .conf files (these go in /etc/fonts/conf.avail) that allow easy hinting mode selections:

  10-autohint-full.conf      (autohinter, "full" hintstyle)
  10-autohint-medium.conf    (autohinter, "medium" hintstyle)
  10-autohint-none.conf      (autohinter, "none" hintstyle)
  10-autohint-slight.conf    (autohinter, "slight" hintstyle)
  10-hint.conf               (hinting, but no autohinter, ie. BCI)

/etc/fonts/conf.d suggestions:
- Do not use 50-user.conf (ignores ~/.fonts.conf which frequently gets spammed with lame settings by various programs eg. KControl)
- Choose one of 10-autohint-*.conf (autohinter) or 10-hint.conf (BCI)
- Choose one of 10-sub-pixel-*.conf (subpixel antialiasing, choose the one appropriate for your monitor, usually rgb) or 10-no-sub-pixel.conf (no subpixel antialiasing)
- Do not use any of the 10-*.conf's other than as above

Personally, I use english and japanese, and get nice results for both with 10-autohint-medium + 10-no-sub-pixel.  The BCI seems to give good results if you have _well-hinted_ truetype fonts.

Ron
Comment 3 Ron MacNeil 2007-01-30 04:37:33 UTC
Created attachment 108574 [details]
freetype-2.3.0.ebuild
Comment 4 Ron MacNeil 2007-01-30 04:38:29 UTC
Created attachment 108576 [details, diff]
freetype-2.3.0-bytecode.patch
Comment 5 Ron MacNeil 2007-01-30 04:38:55 UTC
Created attachment 108578 [details, diff]
freetype-2.3.0-nocompat.patch
Comment 6 Ron MacNeil 2007-01-30 04:39:12 UTC
Created attachment 108580 [details, diff]
freetype-2.3.0-nounpatentedhinting.patch
Comment 7 Ron MacNeil 2007-01-30 04:39:28 UTC
Created attachment 108581 [details, diff]
freetype-2.3.0-subpixel.patch
Comment 8 Ron MacNeil 2007-01-30 04:40:58 UTC
Created attachment 108583 [details]
10-autohint-full.conf
Comment 9 Ron MacNeil 2007-01-30 04:41:16 UTC
Created attachment 108585 [details]
10-autohint-medium.conf
Comment 10 Ron MacNeil 2007-01-30 04:41:30 UTC
Created attachment 108587 [details]
10-autohint-none.conf
Comment 11 Ron MacNeil 2007-01-30 04:41:45 UTC
Created attachment 108588 [details]
10-autohint-slight.conf
Comment 12 Ron MacNeil 2007-01-30 04:46:51 UTC
Created attachment 108589 [details]
10-hint.conf
Comment 13 Sergey Temerkhanov 2007-02-06 20:31:16 UTC
freetype 2.3.1 released: https://sourceforge.net/project/shownotes.php?release_id=482772&group_id=3157

I'm posting here because it's a bugfix release
Comment 14 Luca Barbato gentoo-dev 2007-02-06 20:34:14 UTC
Updated description, I hope somebody not busy could give a try...
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-08 14:13:52 UTC
Eike, you reached your aim, now I have to take care of this myself :P

Ron, thanks for your work on this, I'll see to take care of adding this to portage today or in the next few days, compatibly with the time I have at the moment.
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-02-08 18:39:04 UTC
I've committed version 2.3.1 with a different way to enable/disable options, using sed instead of patches to avoid filling the tree with extra files.

Ron, where would you put the conf.d files? I think they'd be more suitable on fontconfig rather than freetype, sincerely, so please open a new bug for them, and then it will be handled wherever it's needed.