2009/5/20 Dohyun Kim <nomosno...@gmail.com>:
> Lastly, current beta does not support subfonts contained in
> TTC (truetype collection).  TTC fonts are becoming more and more
> difficult to find, but we still can find them especially in CJK world.
> It's quite simple to support them:
> just commenting out three lines from font-dum.lua
>
> -- function fonts.define.get_specification(str)
> --     return "", str, "", ":", str
> -- end
>

Additionally, to be able to access TTC subfonts with "name:" method,
a patch should be inserted into font-dum.lua as follows:

         if found then
             local filename, is_sub = found[3], found[4]
+           if is_sub then is_sub = found[2] end
             return filename, is_sub
         else

Regards,
Dohyun Kim
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to