Hello there. I'm pretty new to ConTeXt and I'm really impressed by your work. So a huge thanks is due. Anyway. Today I found that Linux Libertine Bold Italic doesn't create the ligatures. These work on XeTeX. I took a look at /tex/texmf-context/tex/context/base/type-otf.mkiv where the libertine typescript is defined, but I couldn't find anything wrong. The fonts are the one shipped with the latest updated TeXlive 2010 (they are correctly loaded). With other fonts the ligatures for Bold Italic are created, so I'm a bit lost. Is my setup broken somehow? Or the fonts are broken? Or is it a bug? Thanks in advance. %%%% start minimal example %%%%% \usetypescript[termes,libertine] \setupbodyfont[termes,12pt] \def\testtext{ The fi ffl ffi fluf \par {\it The fi ffl ffi fluf fi} \par {\bf The fi ffl ffi fluf} \par {\bi The fi ffl ffi fluf}\par} \starttext Termes: \testtext \switchtobodyfont[libertine,12pt] Libertine: \testtext \stoptext %%%%% end minimal example %%%%%% ConTeXt ver: 2010.11.03 19:42 MKIV fmt: 2010.11.8 LuaTeX, Version beta-0.63.0-2010091123 (From the latest minimal distribution) pdffonts output name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- PHAMRR+TeXGyreTermes-Regular CID Type 0C yes yes yes 18 0 OOTVTU+TeXGyreTermes-Italic CID Type 0C yes yes yes 19 0 QEYIRB+TeXGyreTermes-Bold CID Type 0C yes yes yes 20 0 ONUACL+TeXGyreTermes-BoldItalic CID Type 0C yes yes yes 21 0 YFUCDN+LinLibertineO CID Type 0C yes yes yes 22 0 PYLANJ+LinLibertineOI CID Type 0C yes yes yes 23 0 LBBYDA+LinLibertineOB CID Type 0C yes yes yes 24 0 FBIQKN+LinLibertineOBI CID Type 0C yes yes yes 25 0 -- Marco
Am 08.11.2010 um 15:53 schrieb Marco:
Hello there.
I'm pretty new to ConTeXt and I'm really impressed by your work. So a huge thanks is due.
Anyway. Today I found that Linux Libertine Bold Italic doesn't create the ligatures. These work on XeTeX. I took a look at /tex/texmf-context/tex/context/base/type-otf.mkiv where the libertine typescript is defined, but I couldn't find anything wrong. The fonts are the one shipped with the latest updated TeXlive 2010 (they are correctly loaded).
With other fonts the ligatures for Bold Italic are created, so I'm a bit lost. Is my setup broken somehow? Or the fonts are broken? Or is it a bug?
Add \definefontfeature[default][default][script=latn] before \setupbodyfont for Libertine. ConTeXt expects for fonts to have ligatures in the default script of the font which is for the case for the libertine fonts except for the bolditalic style where you need the latin script to have ligatures, for me this is a bug in the font and you should make a bug report. Wolfgang
On 11/08/2010 03:53 PM, Marco wrote:
Hello there.
I'm pretty new to ConTeXt and I'm really impressed by your work. So a huge thanks is due.
Anyway. Today I found that Linux Libertine Bold Italic doesn't create the ligatures. These work on XeTeX. I took a look at /tex/texmf-context/tex/context/base/type-otf.mkiv where the libertine typescript is defined, but I couldn't find anything wrong. The fonts are the one shipped with the latest updated TeXlive 2010 (they are correctly loaded).
With other fonts the ligatures for Bold Italic are created, so I'm a bit lost. Is my setup broken somehow? Or the fonts are broken? Or is it a bug?
Whether this is broken and/or a bug is not clear cut, but the Bold Italic font does not have a default script, so it needs an explicit script=latn in the feature setup (the other fonts actually do have a default script, it is just the bold italic that does not have one). I don't really know how to set that up in such a way that it will not affect other fonts as well, but as a workaround/large hammer method, adding this \definefontfeature[default][default][script=latn] before loading the typescript will probably work. Best wishes, Taco
Taco Hoekwater
On 11/08/2010 03:53 PM, Marco wrote:
Hello there.
I'm pretty new to ConTeXt and I'm really impressed by your work. So a huge thanks is due.
Anyway. Today I found that Linux Libertine Bold Italic doesn't create the ligatures. These work on XeTeX. I took a look at /tex/texmf-context/tex/context/base/type-otf.mkiv where the libertine typescript is defined, but I couldn't find anything wrong. The fonts are the one shipped with the latest updated TeXlive 2010 (they are correctly loaded).
With other fonts the ligatures for Bold Italic are created, so I'm a bit lost. Is my setup broken somehow? Or the fonts are broken? Or is it a bug?
Whether this is broken and/or a bug is not clear cut, but the Bold Italic font does not have a default script, so it needs an explicit script=latn in the feature setup (the other fonts actually do have a default script, it is just the bold italic that does not have one).
I don't really know how to set that up in such a way that it will not affect other fonts as well, but as a workaround/large hammer method, adding this
\definefontfeature[default][default][script=latn]
before loading the typescript will probably work.
Best wishes, Taco
It worked. Now it's all clear to me. Thanks Wolfgang and Taco. I'll report the bug to the linux libertine project. -- Marco
participants (3)
-
Marco
-
Taco Hoekwater
-
Wolfgang Schuster