Longmin Wang wrote:
Hi, Hans, Thank you for the great works. But there is still a problem when I test a more complicated file which is attached below. In this file, both \bf and \bi give the same font lmroman10-bold.
I guess the reason is that I use the same Chinese font AdobeHeitiStd-Regular for both SerifBold and SerifBoldItalic. But this
indeed, the name+featureset+size is unique, but fallbacks are not part of that hash
cannot be avoided since Chinese fonts have much fewer typefaces than English fonts.
Would you give some suggestions to solve this problem? Thanks a lot.
i'll have a look at it, but it involves some changes in the lua code dealing with font definitions (unique hashes and such) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------