hmsl
hmsl copied to clipboard
Font support is basically non-existent
Currently, there's only one font, and it's a truetype knockoff of the Apple bitmap classic Chicago. A few options here:
- The Windows implementation seems to query available system fonts, and assigns them to the various numbers.
- We could just package all fonts used in Resources, so that it would be predictable and consistent across platforms without relying on system fonts. This is the current OSX implementation.
- Allow users to assign whatever system fonts they choose to a predetermined number of HMSL slots (perhaps 8 possible font slots), in an OSX-only preferences pane. This would allow users to customize their HMSL interfaces for their individual machines.
I see this current work as a renovation of an historic artifact. We want pieces written on the old HMSL to run as close as possible to the original. So supporting Chicago, Geneva and other original System 7 fonts would be ideal. When HMSL has been faithfully recreated then we can fork the repository and start adding enhancements. Font customization would be appropriate after the fork.
Based on this graphics doc from HMSL we can see that 4 gr.font! was for Monaco font.
Okay, sounds good. Could you point me to the graphics doc? For now, I'll package anything that doesn't ship with OSX (like Chicago) in the Resources folder.
Look for chapter 11 http://www.softsynth.com/hmsl/docs/original/h4th/index.php
How's this look for a list? (Mac system 7.0.1 fonts, from https://web.archive.org/web/20020619184832/http://docs.info.apple.com/article.html?artnum=18078)
Chicago Courier/Courier Bold Geneva Helvetica/Helvetica Bold Monaco Symbol Times/Times Bold Times Italic/Times Bold Italic New York
I don't recall the exact list. But that looks good. Let's try it. Once it is in place it will be easy to reorder later.