khaledhosny / luaotfload

Moved to https://github.com/latex3/luaotfload
23 stars 15 forks source link

Support "ListFonts" tool on MacOSX #28

Closed khaledhosny closed 12 years ago

khaledhosny commented 13 years ago

See http://tug.org/pipermail/luatex/2011-February/002607.html

wspr commented 13 years ago

I haven't managed to try this out yet, but I'm very happy to see it! I'm sure we can get it added to MacTeX easily; if it falls off my radar please remind me that all this needs attention before TL2011.

phst commented 13 years ago

I have written an extension module that is supposed to be able to list system fonts on Windows, OS X, and Linux: https://github.com/phst/lltxplatform

phst commented 13 years ago

I have integrated the lualatex-platform module into luaotfload: https://gist.github.com/940677 Needs a bit more cleaning (e.g., the standard directories should not be searched if the installed fonts could be listed successfully), but seems to work fine on my system.

wspr commented 13 years ago

Thanks Phillip, this is a great development. Can you let me know when I should start testing it and I'll try put some time aside. Next couple of months are a bit of a write-off for me but I should be able to squeeze something in somewhere.

phst commented 13 years ago

If you like, you can start now: the module is rather trivial (a simple wrapper of the respective platform API), so I hope I don't have to change much. The surroundings (autotools builds, integration into luaotfload, TeX Live etc.) are more problematic. I'm already testing it on OS X 10.6 and will try to test it on Windows 7 and Ubuntu 10.10, too.

khaledhosny commented 13 years ago

Philipp, I've added you to the project, feel free to hack around if you want. I'll be offline for a while so I might not be able to answer emails in timely manner.

phst commented 13 years ago

Thanks Khaled. In the meantime, I've tested the module on OS X 10.6, Ubuntu 10.10 (with TeX Live 2009) and Windows 7. Seems to work fine thus far, except for some known build problems. If one of you could test and give me a green light as well, I'll try to upload the module to CTAN and TLcontrib and integrate the patch into LuaOTFLoad.

khaledhosny commented 12 years ago

Support for lualatex-platform been added.