* how to ask lua if glyph nr. x exists in current font
@ 2010-12-23 18:26 Mojca Miklavec
2010-12-23 19:14 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Mojca Miklavec @ 2010-12-23 18:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello,
I'm trying to decrypt the LuaTeX reference manual. I find it easy
enough to read data about different fonts when using
fontA = fontloader.open('a.otf')
and then
glyphs = fontloader.to_table(fontA).glyphs
but I'm not able to figure out how to aks the same question about the
font that is currently being used (in MKIV).
I would like to know if a glyph with some Unicode value is present in
the font or not.
Thanks for the hints,
Mojca
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to ask lua if glyph nr. x exists in current font
2010-12-23 18:26 how to ask lua if glyph nr. x exists in current font Mojca Miklavec
@ 2010-12-23 19:14 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2010-12-23 19:14 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Mojca Miklavec
On 23-12-2010 7:26, Mojca Miklavec wrote:
> Hello,
>
> I'm trying to decrypt the LuaTeX reference manual. I find it easy
> enough to read data about different fonts when using
> fontA = fontloader.open('a.otf')
> and then
> glyphs = fontloader.to_table(fontA).glyphs
> but I'm not able to figure out how to aks the same question about the
> font that is currently being used (in MKIV).
>
> I would like to know if a glyph with some Unicode value is present in
> the font or not.
\iffontchar\font123 ... just an etex primitive
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-23 19:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-23 18:26 how to ask lua if glyph nr. x exists in current font Mojca Miklavec
2010-12-23 19:14 ` 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).