ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Martin Oppegaard <martin.oppegaard@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with old style figures and particular font
Date: Thu, 11 Aug 2016 19:42:14 +0000	[thread overview]
Message-ID: <57acd518.944f190a.fafd8.1ee1@mx.google.com> (raw)

Hi Wolfgang, thank you for the quick reply.

On Thu, Aug 11 2016, Wolfgang Schuster wrote:
>     
>     
>     Martin Oppegaard
>     10. August 2016 um 22:27
>     
>     Dear list,
>     
>     I'm having problems getting old style figures and ligatures with
>     the fbb
>     font. I'm using Tex live 2014 on OpenBSD 5.9 and context version
>     2014.05.21 22:04. otfinfo -f fbb-Regular.otf reports that it has
>     onum
>     and liga, and it works fine with lualatex. I have tried with a
>     typescript and simplefont (the fbb font is being used in all three
>     cases); see attached examples. Do you have any suggestions?
>     
>     % type-fbb.mkiv
>     \starttypescript [serif] [fbb] [name]
>     \definefontsynonym [Serif] [file:fbb-Regular.otf]
>     [features=default]
>     \definefontsynonym [SerifItalic] [file:fbb-Italic.otf]
>     [features=default]
>     \stoptypescript
>     
>     \starttypescript [fbb]
>     \definetypeface [fbb] [rm] [serif] [fbb] [default]
>     \stoptypescript
>     
>     
>     % contex-test1.tex
>     \usetypescriptfile[type-fbb]
>     \usetypescript[fbb]
>     \setupbodyfont[fbb,11pt]
>     \definefontfeature[default][default][liga=yes,onum=yes]
>     
> Move the \definefontfeature setting before \setupbodyfont because
> changes to the feature set after the font is loaded are ignored.
>
> \definefontfeature[default][default][liga=yes,onum=yes]
> \setupbodyfont[fbb,11pt]
>
> Wolfgang
>

Moving \definefontfeature before \setupbodyfont doesn't change anything
for me.  Here is the output of running context:


open source     > 1 > 1 > /usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2016.2.22  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > /usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > /usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv
system          > files > jobname 'context-test1', input './context-test1', result 'context-test1'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > /home/martin/documents/fbb-test/context-test1.tex
open source     > 3 > 4 > type-fbb.mkiv
close source    > 3 > 4 > type-fbb.mkiv
fonts           > preloading modern-designsize (math)
fonts           > typescripts > unknown library 'modern-designsize' or 'modern'
fonts           > 'fallback modern-designsize mm 11pt' is loaded
fonts           > preloading modern-designsize (mono)
fonts           > 'fallback modern-designsize tt 11pt' is loaded
backend         > xmp > using file '/usr/local/share/texmf-dist/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
close source    > 2 > 4 > /home/martin/documents/fbb-test/context-test1.tex
close source    > 1 > 4 > /usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv

system          > structure > start used structure

used structure  > text: context-test1

system          > structure > stop used structure


system          > files > start used files

used file       >    1: filename=cont-yes.mkiv filetype=tex foundname=/usr/local/share/texmf-dist/tex/context/base/cont-yes.mkiv usedmethod=database
used file       >    2: filename=cont-new.mkiv filetype=tex foundname=/usr/local/share/texmf-dist/tex/context/base/cont-new.mkiv usedmethod=database
used file       >    3: filename=lang-us.lua filetype=lua foundname=/usr/local/share/texmf-dist/tex/context/patterns/lang-us.lua usedmethod=database
used file       >    4: filename=/home/martin/documents/fbb-test/context-test1.tex foundname=/home/martin/documents/fbb-test/context-test1.tex usedmethod=direct
used file       >    5: filename=type-fbb.mkiv foundname=type-fbb.mkiv usedmethod=direct
used file       >    6: filename=fbb-Regular.otf filetype=otf format=otf foundname=/usr/local/share/texmf-dist/fonts/opentype/public/fbb/fbb-Regular.otf usedmethod=database
used file       >    7: filename=lpdf-pdx.xml filetype=tex foundname=/usr/local/share/texmf-dist/tex/context/base/lpdf-pdx.xml usedmethod=database

system          > files > stop used files


system          > options > start commandline options

used option     > currentrun="3"
used option     > fulljobname="./context-test1.tex"
used option     > input="./context-test1.tex"
used option     > kindofrun="2"
used option     > maxnofruns="8"
used option     > no-parse-first-line="true"

system          > options > stop commandline options

system          > options > start commandline files

used file       >    1: ./context-test1.tex

system          > options > stop commandline files


mkiv lua stats  > used config file: selfautodir:/share/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable: '/usr/local/share/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d' | readable+writable: '/home/martin/.texlive2014/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d'
mkiv lua stats  > resource resolver: loadtime 0.092 seconds, 1 scans with scantime 0.000 seconds, 0 shared scans, 7 found files, scanned paths: /home/martin/texmf
mkiv lua stats  > stored bytecode data: 350 modules (0.280 sec), 69 tables (0.000 sec), 419 chunks (0.280 sec)
mkiv lua stats  > running in nuts mode: yes
mkiv lua stats  > cleaned up reserved nodes: 44 nodes, 443 lists of 442
mkiv lua stats  > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats  > node list callback tasks: 6 unique task lists, 5 instances (re)created, 39 calls
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > jobdata time: 0.001 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: 144 direct, 195 indirect, 339 total
mkiv lua stats  > randomizer: resumed with value 0.38142795133471
mkiv lua stats  > result saved in file: context-test1.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > loaded fonts: 1 files: fbb-regular.otf
mkiv lua stats  > fonts load time: 0.032 seconds for 4 fonts, 3 shared in backend, 1 common vectors, 2 common hashes
mkiv lua stats  > used platform: linux, type: unix, binary subtree: local
mkiv lua stats  > luatex banner: this is luatex, version beta-0.79.1 (tex live 2014-openbsd_ports) (rev 4971)
mkiv lua stats  > control sequences: 38119 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua, used memory: 45 MB (ctx: 45 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.421 seconds, 1 processed pages, 1 shipped pages, 2.375 pages/second

Best regards,
Martin Oppegaard
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2016-08-11 19:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 19:42 Martin Oppegaard [this message]
2016-08-12 10:08 ` Wolfgang Schuster
2016-08-12 13:50   ` Interlining in a TwoColumns set Jean-Pierre Delange
2016-08-12 15:21     ` Pablo Rodriguez
2016-08-13  6:52       ` Wolfgang Schuster
2016-08-13 10:45         ` Jean-Pierre Delange
2016-08-14 11:47           ` Pablo Rodriguez
2016-08-14 14:06             ` Jean-Pierre Delange
2016-08-14 15:42               ` Pablo Rodriguez
2016-08-14 15:50               ` Wolfgang Schuster
2016-08-14 14:13             ` Jean-Pierre Delange
2016-08-14 15:55               ` Wolfgang Schuster
2016-08-15  8:39                 ` Jean-Pierre Delange
2016-08-15 10:16                   ` Pablo Rodriguez
2016-08-13  9:32       ` Jean-Pierre Delange
  -- strict thread matches above, loose matches on Subject: below --
2016-08-12 13:20 Problems with old style figures and particular font Martin Oppegaard
2016-08-10 20:27 Martin Oppegaard
2016-08-11  6:43 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57acd518.944f190a.fafd8.1ee1@mx.google.com \
    --to=martin.oppegaard@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).