Re: [NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Taco Hoekwater
Hi,

> On 7 Sep 2020, at 22:05, Andres Conrado Montoya  
> wrote:
> 
> 
> Hello list. I'm trying to call a direct glyph from the Phaistos font, but it 
> seems it doesn't work. The font is loaded, the log file says it so:
> 
> system  >   12: filename=/home/vantta/.fonts/Phaistos.otf format=otf 
> foundname=/home/vantta/.fonts/Phaistos.otf 
> fullname=/home/vantta/.fonts/Phaistos.otf usedmethod=direct
> 
> However, the glyph is not displayed in the pdf. I've tried both in MKIV and 
> LMTX with no luck. Maybe someone here will have a clue.

I don’t have the font, but is u101F2 the glyphs’ name, or its code point?

Try this:

   \starttext
   \usemodule [fnt-10]
   \ShowCompleteFont{name:phaistos}{14pt}{1}
   \stoptext___
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
___


[NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Andres Conrado Montoya
Hello list. I'm trying to call a direct glyph from the Phaistos font, but
it seems it doesn't work. The font is loaded, the log file says it so:

system  >   12: filename=/home/vantta/.fonts/Phaistos.otf
format=otf foundname=/home/vantta/.fonts/Phaistos.otf
fullname=/home/vantta/.fonts/Phaistos.otf usedmethod=direct

However, the glyph is not displayed in the pdf. I've tried both in MKIV and
LMTX with no luck. Maybe someone here will have a clue.

MWE:
%%
\definesymbol[arbol]
  [\getnamedglyphdirect{phaistos}{u101F2}]

\starttext
\switchtobodyfont[72pt]
\symbol[arbol]
\stoptext
%%%


-- 
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http://sesentaycuatro.com
http://messier87.com
http://chiquitico.org

Los fines no justifican los medios, porque la medida verdadera de nuestro
carácter está dada por los medios que estamos dispuestos a utilizar, no por
los fines que proclamamos.


“You develop an instant global consciousness, a people orientation, an
intense dissatisfaction with the state of the world, and a compulsion to do
something about it. From out there on the moon, international politics look
so petty. You want to grab a politician by the scruff of the neck and drag
him a quarter of a million miles out and say, ‘Look at that, you son of a
bitch.’” — Apollo 14 astronaut Edgar Mitchell
___
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
___