* Can't output direct glyphs either in MKIV or LMTX
@ 2020-09-07 20:03 Andres Conrado Montoya
2020-09-07 20:38 ` Taco Hoekwater
0 siblings, 1 reply; 2+ messages in thread
From: Andres Conrado Montoya @ 2020-09-07 20:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1500 bytes --]
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ú
andresconrado@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
[-- Attachment #1.2: Type: text/html, Size: 2286 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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] 2+ messages in thread
* Re: Can't output direct glyphs either in MKIV or LMTX
2020-09-07 20:03 Can't output direct glyphs either in MKIV or LMTX Andres Conrado Montoya
@ 2020-09-07 20:38 ` Taco Hoekwater
0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2020-09-07 20:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 769 bytes --]
Hi,
> On 7 Sep 2020, at 22:05, Andres Conrado Montoya <andresconrado@gmail.com> 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
[-- Attachment #1.2: Type: text/html, Size: 1483 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2020-09-07 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 20:03 Can't output direct glyphs either in MKIV or LMTX Andres Conrado Montoya
2020-09-07 20:38 ` Taco Hoekwater
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).