[HarfBuzz] possible bug?

Alfabety dziedzic at alfabety.pl
Thu Jan 19 10:02:33 PST 2012


I have a Python macro to generate pngs.
hb-view is called from Python by:

...
features="--features='smcp=1,cswh=1,ss01=1'"
...
hbcall = (hb_view, margin, features, back, front, format, size, line, font, text)
...
hbout, hberr = subprocess.Popen(hbcall, stdout=subprocess.PIPE).communicate()

if I put some 'blind' feature at the beginning and end:
features="--features='xxxx=0, smcp=1,cswh=1,yyyy=0'"
both smcp and cwsh renders properly.
Without xxxx and yyyy doesn't work good
Better and deeper investigation next week.

best,

Ł

On 19 sty 2012, at 05:56, Behdad Esfahbod wrote:

> I surely cannot reproduce this.  Can you give us some more context?  Perhaps
> sample font and command-line to reproduce the problem?
> 
> behdad
> 
> On 01/18/2012 07:36 AM, Alfabety wrote:
>> Hi,
>> 
>> I'm plying with hb-view as a server font renderer, because I need access to OT features.
>> Everything works OK except first feature tag in features parameter.
>> 
>> --features='numr=1,frac=1,ordn=1,smcp=1,cswh=1,pnum=1'
>> renders frac very nice, but:
>> --features='frac=1,ordn=1,smcp=1,cswh=1,pnum=1'
>> doesn't renders frac anymore.
>> 
>> Same is with 'smcp', 'pnum' etc... if tag is sent as a first in line.
>> 
>> Ł




More information about the HarfBuzz mailing list