Closed
Bug 867735
Opened 11 years ago
Closed 11 years ago
Update to freetype 2.5.0.1
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: jrmuizel, Assigned: mwu)
References
Details
Attachments
(7 files)
This isn't out yet, but will include Adobe's new cff engine: http://google-opensource.blogspot.ca/2013/05/got-cff.html
Comment 1•11 years ago
|
||
I have 2.4.11 passing try, but haven't pushed it. Good thing, too, waiting for 2.4.12 seems like a good thing.
Comment 2•11 years ago
|
||
These are pre v.1.0 feura fonts, but have the correct hinting so should be a good comparison.
http://sourceforge.net/projects/freetype/files/freetype2/2.4.12/ FreeType 2.4.12 released.
Reporter | ||
Comment 4•11 years ago
|
||
Reporter | ||
Comment 5•11 years ago
|
||
Reporter | ||
Comment 6•11 years ago
|
||
Reporter | ||
Comment 7•11 years ago
|
||
Reporter | ||
Comment 8•11 years ago
|
||
Reporter | ||
Comment 9•11 years ago
|
||
Reporter | ||
Comment 10•11 years ago
|
||
I've attached files with Freetype and Adobe engines with hinting enabled and disabled. Which do you like the best?
Reporter | ||
Comment 11•11 years ago
|
||
It looks like the gamma correction went wrong with these images. So ignore them.
Comment 12•11 years ago
|
||
For a more complete comparison, could we have samples that include all three weights, not just the Light face?
Reporter | ||
Comment 13•11 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #12) > For a more complete comparison, could we have samples that include all three > weights, not just the Light face? I'm not going to get a chance to do that right now.
Reporter | ||
Comment 14•11 years ago
|
||
Patryk, it's probably better if you just visit me and I can show you lots of samples.
Comment 16•11 years ago
|
||
Using the Adobe CFF renderer is especially important in Japan where CFF rendering generally gives better results due to the way hinting is done (in the rasterizer rather than manual hinting data in the font for TTF fonts). Allowing the OS to use a well-made CFF Japanese font would be a huge win for Japanese users. Among carriers in Japan shipping Android it's fairly standard to license a decent set of Japanese fonts for default use, in addition to the standard Android fonts.
Assignee | ||
Comment 17•11 years ago
|
||
2.5.0.1 - https://tbpl.mozilla.org/?tree=Try&rev=7e1846623b5f
Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #17) > 2.5.0.1 - https://tbpl.mozilla.org/?tree=Try&rev=7e1846623b5f That didn't work out. Disabled png support - https://tbpl.mozilla.org/?tree=Try&rev=e9955be04a69
Assignee | ||
Comment 19•11 years ago
|
||
Looks ok on try. I disabled the use of libpng, whose use seems to be limited to supporting color emoji. This patch just contains the changes in gecko code. The rest of the files are just dropped into place from the release tarball.
Assignee: nobody → mwu
Attachment #769321 -
Flags: review?(jfkthame)
Comment 20•11 years ago
|
||
Disabling freetype's use of libpng seems fine for now, though we may want to reconsider that at some point (e.g. if Android devices start shipping a color emoji font based on that approach). But that can be addressed in a followup if/when it becomes relevant. What about the effect of the new rasterizer? Are we happy with the resulting text rendering in Fennec, or do we need to be passing any new options to freetype in order to choose our preferred rendering? Patryk, have you had a chance to compare the results, across a range of font sizes and weights?
Flags: needinfo?(padamczyk)
Assignee | ||
Updated•11 years ago
|
Summary: Update to freetype 2.4.12 → Update to freetype 2.5.0.1
Assignee | ||
Comment 21•11 years ago
|
||
Here's the whole thing if people want to try building with it.
Comment 22•11 years ago
|
||
On Fennec 25.01a it looks good. I am in Taipei this week, but I will sync with Jeff next week when I am back in Toronto.
Flags: needinfo?(padamczyk)
Comment 23•11 years ago
|
||
Comment on attachment 769321 [details] [diff] [review] Update to freetype 2.5.0.1 Review of attachment 769321 [details] [diff] [review]: ----------------------------------------------------------------- r=me; let's get this into the tree, as we clearly want to stay up to date. If it turns out there are rasterization options we want to tweak in any way to optimize the rendering for our target use-cases, we can always do that in a followup bug.
Attachment #769321 -
Flags: review?(jfkthame) → review+
Assignee | ||
Comment 24•11 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/9426f36c2b77
Comment 25•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9426f36c2b77
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Assignee | ||
Comment 26•10 years ago
|
||
Bug 966795 has been opened for updating to freetype 2.5.2.
Updated•8 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•