From: Peter B. <ps...@vi...> - 2007-03-26 05:05:17
|
George Williams wrote: > When I did this, nothing happened because: > 9 is in the Unicode Common script, so ff gives the metrics view > the script "DFLT > But the 'onum' feature is attached to script latin and not to DFLT > So nothing happens > If you manually change the script to be "latn" it works. > (There was an argument on the OpenType list about what scripts should be > active for features that apply to common characters. I don't think any > conclusion was reached, but what made sense to me was that these > features should be active for all scripts (and languages) the font > supported that might potentially use the glyphs and for the DFLT script > just in case the glyphs were used in a script which was not in the font > (ie. if your digits were embedded in a run of chinese characters from > another font (so the script was han)) anyway you might consider making > 'onum' active for 'grek{dflt}' and 'cyrl' as well) > Okay, thanks for checking this out. What I've done is to add DFLT{dflt} (and several others, as you suggest) to the onum lookup, and that seems to fix the problem. Oddly, when I first made the change, saved, generated the font, it didn't seem to work; opening the font again and looking at the lookup list, onum was there, but with no scripts listed. When I opened the script list, FF put in a list of scripts correct for the font. I think perhaps what I had done wrong before was to idiotically include in the script list one (cyrl{dflt}) that wasn't in the font. I've got some things to learn here. Peter Baker |