4

I am using Asea font http://users.teilar.gr/~g1951d/Textfonts.zip

From http://users.teilar.gr/~g1951d/

And I want to pick some characters that are not encoded in unicode, but are present in the font, like these:

enter image description here

The alpha with macron and smooth breathing appear in position "1114698 (0x11024a)" (I saw at FontForge), but does not have an unicode (U + XXXX) number. How can I select this symbol using fontspec package (the \symbol command)?

6

The glyphs can be accessed through a ligature with the macron accent (U+0304):

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Asea.ttf}[Script=Greek]
\begin{document}
ᾱ^^^^0304 ά^^^^0304 ὰ^^^^0304 ἀ^^^^0304 ἁ^^^^0304 ἄ^^^^0304 ἂ^^^^0304 
ἅ^^^^0304 ἃ^^^^0304
\end{document}

enter image description here

  • While that works for this particular font, what if there were no ligature combination to access it? (unlikely but, that would make the answer a lot more general, if it's possible) – guifa Dec 28 '18 at 17:43
  • @guifa there is no general answer. It depends on the font how glyph can be accessed - sometimes such glyphs are stylistic variants, here they are used in ligatures. – Ulrike Fischer Dec 28 '18 at 17:46
  • It's also possible to store glyphs in a font without having a way to access them via ligatures, variants, etc, and thus only access than by glyph ID. That would be the general answer, but I don't know if fontspec gives that level of access. – guifa Dec 28 '18 at 18:42
  • 1
    @guifa you can do \char 983627 (with luatex, xelatex would need some other number) you can also access by glyphname. – Ulrike Fischer Dec 28 '18 at 19:02

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.