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

2020-09-07 Thread Andres Conrado Montoya
Hi Taco, thanks for the input. Your example works, and produces the glyphs.
Pdf attached, I hope this system allows it (only 36.3 kB). "u101F2" is the
unicode name for the glyph. I would guess, according to what you told me,
that the code point would be "00024", but honestly, I have no idea. This
used to work some months ago.

-- 
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


test-phaistos.pdf
Description: Adobe PDF document
___
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
___


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
___