hmsl icon indicating copy to clipboard operation
hmsl copied to clipboard

Font support is basically non-existent

Open andrewcsmith opened this issue 8 years ago • 5 comments

Currently, there's only one font, and it's a truetype knockoff of the Apple bitmap classic Chicago. A few options here:

  1. The Windows implementation seems to query available system fonts, and assigns them to the various numbers.
  2. 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.
  3. 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.

andrewcsmith avatar Aug 26 '15 17:08 andrewcsmith

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.

philburk avatar Aug 28 '15 16:08 philburk

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.

andrewcsmith avatar Aug 28 '15 17:08 andrewcsmith

Look for chapter 11 http://www.softsynth.com/hmsl/docs/original/h4th/index.php

philburk avatar Aug 29 '15 19:08 philburk

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

andrewcsmith avatar Sep 20 '15 19:09 andrewcsmith

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.

philburk avatar Sep 20 '15 20:09 philburk