ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Ligatures on Linux Libertine Bold Italic
@ 2010-11-08 14:53 Marco
  2010-11-08 15:07 ` Wolfgang Schuster
  2010-11-08 15:07 ` Taco Hoekwater
  0 siblings, 2 replies; 4+ messages in thread
From: Marco @ 2010-11-08 14:53 UTC (permalink / raw)
  To: ntg-context


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


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ligatures on Linux Libertine Bold Italic
  2010-11-08 14:53 Ligatures on Linux Libertine Bold Italic Marco
@ 2010-11-08 15:07 ` Wolfgang Schuster
  2010-11-08 15:07 ` Taco Hoekwater
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2010-11-08 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ligatures on Linux Libertine Bold Italic
  2010-11-08 14:53 Ligatures on Linux Libertine Bold Italic Marco
  2010-11-08 15:07 ` Wolfgang Schuster
@ 2010-11-08 15:07 ` Taco Hoekwater
  2010-11-08 15:22   ` Marco
  1 sibling, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2010-11-08 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marco

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ligatures on Linux Libertine Bold Italic
  2010-11-08 15:07 ` Taco Hoekwater
@ 2010-11-08 15:22   ` Marco
  0 siblings, 0 replies; 4+ messages in thread
From: Marco @ 2010-11-08 15:22 UTC (permalink / raw)
  To: ntg-context

Taco Hoekwater <taco@elvenkind.com> writes:

> 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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-08 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 14:53 Ligatures on Linux Libertine Bold Italic Marco
2010-11-08 15:07 ` Wolfgang Schuster
2010-11-08 15:07 ` Taco Hoekwater
2010-11-08 15:22   ` Marco

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).