1

I am trying to do some edits in Adobe Illustrator off of some fonts generated in the code below. In Acrobat, the font shows up as Asana Math. In the OTF file downloaded from CTAN, I do not see any Italics variation. Now I am not sure what this font really is. Can you help me identify the font:

enter image description here

Here is the code:

\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{mathtools}
\usepackage{amssymb,amsthm}


\usepackage{unicode-math}  % loads 'fontspec' automatically

\setmainfont{Fira Sans Light}[
     Numbers       = OldStyle,
     BoldFont      = Fira Sans Medium,
     ItalicFont    = Fira Sans Light Italic,
     BoldItalicFont= Fira Sans Medium Italic]
\setsansfont{Fira Sans Light}[
     Numbers       = OldStyle,
     BoldFont      = Fira Sans Medium,
     ItalicFont    = Fira Sans Light Italic,
     BoldItalicFont= Fira Sans Medium Italic]
% For source code
\setmonofont{Source Code Pro Light}[
     BoldFont=Source Code Pro]

%% Math font
\setmathfont{Asana Math} % or some other suitable font

\begin{document}

\begin{equation*}
-2f_{c}\quad 2W \quad 2f_{c} \quad 2W \quad f \quad V(f)
\end{equation*}

\end{document}
  • 2
    you have the pdf so you can get the font list from acrobat or the pdffonts utility, that's far more accurate than asking people to debug a png image of the output by eye, or trusting that their font setup will use the same font versions that you used. what fonts does pdffonts list for the pdf from the above example? – David Carlisle Oct 30 '18 at 23:33
  • It says Anana Math for the italicized "f". Under the Asana Math, I do not find any italics variation. – Joe Oct 30 '18 at 23:36
  • 1
    it's a math font, so you'd expect sloped letters wouldn't you? in the math italic slot U+1D453 I would assume. – David Carlisle Oct 30 '18 at 23:40
  • 1
    well you can get the basic glyphs as its a normal OTF font, presumably illustrator doesn't know how to interpret the OTF table so math specific rendering like stretchy brackets won't be there. – David Carlisle Oct 30 '18 at 23:48
  • 1
    it's not a separate font just different unicode slots, try this text for example ๐‘ฏ๐’†๐’๐’๐’ ๐’˜๐’๐’“๐’๐’… – David Carlisle Oct 30 '18 at 23:55
5

The font will be Asana Math as reported.

You do not see separate "italic variant" as OpenType Math fonts do not use separate fonts for italic, fraktur, etc math alphabets but rather (mostly) use the unicode range starting at U+1D400 which contains these math alphabets.

So for example, without changing font, ๐‘ฏ๐’†๐’๐’๐’ ๐’˜๐’๐’“๐’๐’… is bold math italic โ„๐•–๐•๐•๐•  ๐•จ๐• ๐•ฃ๐•๐•• is math double-struck, with the H being U+1D46F and U+210D respectively.

  • Hello, I am still not sure of what to make of your suggestion. In summary, I will not be able to generate the Asana Math italic font to be used in Adobe Illustrator? – Joe Oct 31 '18 at 5:08
  • 1
    @Joe no, exactly the opposite, just select the font and add the characters, eg try cutting and pasting my bold italic ๐‘ฏ๐’†๐’๐’๐’ ๐’˜๐’๐’“๐’๐’… – David Carlisle Oct 31 '18 at 8:03

Your Answer

By clicking โ€œPost Your Answerโ€, you agree to our terms of service, privacy policy and cookie policy

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