[XeTeX] Problem with ocrb10.otf ligature 'fi'

Herbert Schulz herbs at wideopenwest.com
Mon Jun 13 02:36:55 CEST 2011


On Jun 12, 2011, at 6:01 PM, Ross Moore wrote:

> Hello Pander,
> 
> On 13/06/2011, at 6:26 AM, Pander wrote:
> 
>> Hi all,
>> 
>> I have discovered a problem with ocrb10.otf the ligatures are not workig
>> correctly in xelatex. ttx from fonttools reports only these common
>> ligatures: ff-ffi-ffl-fi-fl. See example below for result. How to solve
>> this?
> 
> Where did you obtain your OCR fonts from?
> 
> I just downloaded the demo from here:
>      http://www.barcodesoft.com/ocr_font.aspx
> and the font file names are  OCRB.otf , OCRBI.otf , OCRBIII.otf ,
> and OCRBIV.otf  in OTF format.
> 
> Given that this is meant to be a mono-spaced font, I'd not expect
> to have any ligatures at all.
> 
> Changing your code example to:
> 
>>>> {\fontspec{OCRB}abc ff ffi ffl fl fi}
>>>> \bigskip
>>>> 
>>>> {\fontspec[Ligatures={Required,Common,Rare}]{OCRB}abc ff ffi ffl fl fi}
>>>> \bigskip
>>>> 
>>>> {\fontspec[Ligatures={NoRequired,NoCommon,NoRare}]{OCRB}abc ff ffi ffl fl fi}
>>>> \bigskip
> 
> the result is attached below.
> 
> <texshop_image.jpeg>
> On the other hand, if you get the free example from:
> 
>   http://ansuz.sooke.bc.ca/page/fonts#ocrb
> 
> and look at the example document  ocr.pfb  then you
> can see that there are many examples of  fi ffi etc.
> using no ligatures.
> 
> Indeed looking at the repertoire using FontBook (on Mac OS X 10.6)
> there are no fi or fl etc. ligatures.
> 
> So it is not at all clear that what you are asking for makes
> much sense, with this font.
> 
> 
> But then maybe you have a version of OCRB that comes from a 
> completely different source? In which case, we need more details
> before further testing can be done.
> 
>> 
>> Regards,
>> 
>> Pander
> 
> 
> 
> Hope this helps,
> 
> 	Ross

Howdy,

I have those fonts as part of TL2011 pretest and I think thye are also in TL2010.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the XeTeX mailing list