← Back to team overview

context team mailing list archive

[Bug 786222] Re: TTF and OTF fonts work erratically

 

** Attachment added: "Example of the error"
   https://bugs.launchpad.net/bugs/786222/+attachment/2137655/+files/font.tex

-- 
You received this bug notification because you are a member of ConTeXt
distribution team, which is the registrant for ConTeXt distribution.
https://bugs.launchpad.net/bugs/786222

Title:
  TTF and OTF fonts work erratically

Status in ConTeXt distribution:
  New

Bug description:
  I'm using latest snapshot of ConTeXt minimals on x86_64 Linux and
  trying to use TTF and OTF fonts installed in /usr/share/fonts. ConTeXt
  version is 2011.05.18 22:26. What I have done so far:

  ./first-setup.sh
  source ./tex/setuptex
  export OSFONTDIR="/usr/share/fonts;/usr/local/share/fonts/"
  mtxrun --script fonts --reload
  context font.tex

  There are two issues which are apparent in the font.tex example file
  attached:

  1) If I comment the \setupbodyfont -line, or for example write
  \setupbodyfont[modern,12pt], the two fonts I have defined will
  disappear and be replaced with the default Latin Modern font.

  2) The fonts will not display if I use a small font size. For example,
  with \setupbodyfont[LeagueScript,30pt] the page number will be
  formatted with League Script, but with
  \setupbodyfont[LeagueScript,12pt] it will be shown with Latin Modern.

  I am using these fonts (otf):

  http://www.theleagueofmoveabletype.com/fonts/15-league-script-1
  http://www.andymangold.com/pompadour-available-as-a-font-still-free/


References