ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* crappy names in the fontloader
@ 2019-07-06 16:36 Marcel Fabian Krüger
  2019-07-07 21:42 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Fabian Krüger @ 2019-07-06 16:36 UTC (permalink / raw)
  To: ConTeXt users list

Hi everyone,

under default settings, the fontloaders discards all glyph names which
are considered "crappy", meaning matching the "p_crappyname" pattern in
"font-oup.lua". For some names this makes a lot of sense. For example
the name "uni0303" is considered "crappy" and it really provides no
useful information. Then there are other names like "t_uni0303" which
are still considered "crappy" while they actually aren't completely
useless. So I think there would be some value in preserving them. Of
course, you can always enable "otf.keepnames" if you need names like
this.

But I actually want to talk about another class of names: Look at
"Udotbelow". This is IMHO a perfectly normal and useful name, but the
fontloader still considers it "crappy" because it starts with a "U"
followed by a letter which could be a hexadecimal number.

I think this is a bit over-agressive. Maybe the "p_crappyname" pattern
could be changed to only look for "u<hexadecimal>" if followed by
"p_done", marking the end of a component?


Best regards,
Marcel Krüger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-08 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-06 16:36 crappy names in the fontloader Marcel Fabian Krüger
2019-07-07 21:42 ` Hans Hagen
2019-07-08 11:54   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).