Comments (11)
Attachment added.
Original comment by [email protected]
on 11 Jul 2014 at 9:08
Attachments:
from noto.
+werner
Confirmed with pango-view. FreeType autohinter fail.
Currently FreeType hints the U+1F100..1F1FF Enclosed Alphanumeric Supplement
(and the non-supplement one) with Latin, whereas fonts typically have smaller
letter shapes for these. I think they need to be separated and treated
differently.
Or maybe the fact that an entire stem is being lost is a bug on its own that
can be fixed.
Original comment by [email protected]
on 11 Jul 2014 at 9:24
from noto.
Note that the stem appears again in smaller and larger sizes. Something happens
at 15px.
Original comment by [email protected]
on 11 Jul 2014 at 9:30
from noto.
This is certainly an autohinter bug. It gets confused by the lack of bluezones
and existence of the dotted box around the glyph. The part of code that is
misfiring looks wrong to me. This branch:
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index a1f2b33..1de6c10 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -2603,7 +2603,7 @@
edge->flags |= AF_EDGE_DONE;
edge2->flags |= AF_EDGE_DONE;
- if ( edge > edges && edge->pos < edge[-1].pos )
+ if ( 0 && edge > edges && edge->pos < edge[-1].pos )
{
#ifdef FT_DEBUG_LEVEL_TRACE
FT_TRACE5(( " BOUND: edge %d (pos=%.2f) moved to %.2f\n",
Werner, any chance you can take a look at this?
Original comment by [email protected]
on 14 Jul 2014 at 11:03
from noto.
I'm on vacation right now so it will take some time until I can work on this.
However, I guess that the `BOUND' action misses an additional constraint –
I've contacted David Turner whether he can remember a typical usecase for it so
that I can implement something sensible...
Original comment by [email protected]
on 15 Jul 2014 at 2:36
from noto.
This works for me using pango-view, so perhaps it has been fixed? Behdad can
you confirm?
Original comment by [email protected]
on 21 Apr 2015 at 5:30
from noto.
Still reproduces for me:
pango-view --font='Noto Sans Symbols 15px'
--text=`~/hb/test/shaping/hb-unicode-encode 1f1eb`
Note the "15px". Or you can use 15 with --dpi=72.
I also didn't see any fix for this going in.
Original comment by [email protected]
on 21 Apr 2015 at 5:42
from noto.
Oh, left of the 'px'. Yes, not fixed.
Original comment by [email protected]
on 21 Apr 2015 at 6:52
from noto.
... and David told me that he no longer knows what he was coding :-(
I hope to finally start a FreeType font rendering database project soon,
collecting renderings of fonts. This should help play with modified settings
and rules in the auto-hinter.
Original comment by [email protected]
on 21 Apr 2015 at 7:02
from noto.
Yeah, if we have such a database, making the change the autohinter is trivial.
Want to talk about it?
Original comment by [email protected]
on 21 Apr 2015 at 7:40
from noto.
Yes :-) If you have thoughts on this, please share them on the freetype-devel
mailing list! I'm a complete noob with setting test suites, so any guidance
would be a great help.
Original comment by [email protected]
on 25 Apr 2015 at 5:16
from noto.
Related Issues (20)
- Code review request - update_cjk_names HOT 3
- Release Emoji font in alpha, update tools HOT 1
- Some vowel combinatons of Telugu TSA and DZA don't work properly HOT 4
- Code review request - update_mt_download refactor HOT 1
- Code review request HOT 2
- doubled-up letter HOT 1
- Noto Nastaliq U+0658 shape HOT 2
- Noto Nastaliq spacing issue HOT 3
- Noto Nastaliq wrong position of dots ت in a word ending in ے HOT 2
- Noto Nastaliq dots positioning HOT 1
- Code review request HOT 1
- Questions about noto sans Licensing HOT 1
- Noto repository is huge, we should perhaps break it to some pieces HOT 2
- web font for smplified chinese font
- Wave SVG flags HOT 3
- correction for noto sans deseret needed HOT 3
- Sample text for noto sans tc does not make sense
- Noto Nastaliq ک final and isolated? shape HOT 2
- Code review request
- Code review request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noto.