Screen fonts, especially Monaco at 9 pts

armadillu 10 years ago updated by Alexander Blach (Developer) 10 years ago 9
No antialiased!
I've already asked Apple for permission to use the Monaco and/or Menlo font. They are they copyright owner of those fonts. The iOS developer support gave me a contact to ask. Unfortunately I didn't get an answer yet. That was a few weeks ago.

I also tried to disable anti-aliasing when drawing the characters. It seems like you can't disable it on iOS when using CoreGraphics to draw the glyphs.

The DejaVu font is very similar to Menlo. They are both based on Bitstream Vera. In Mac OS X 10.6 Snow Leopard, Monaco was replaced as the default Terminal font by Menlo:

What about ProFont? I use it in windows as a monaco 9 replacement, not sure about the license... http://www.tobias-jung.de/seekingprofont/
Looks like this should be possible. I'll try it and see if it works on the iPad.

• Can I redistribute ProFont Distribution?

“ProFont Distribution” is Copyright © 1997, SQ Software. The ProFont fonts are Copyright © 1997, Carl R. Osterwald. It is our intention that “ProFont Distribution” get the widest possible distribution. You may redistribute unmodified copies of “ProFont Distriubtion” as long as it is accompanied by an unmodified copy of “About ProFont Distribution 2.2” (this file). You may not charge anyone money for the “ProFont Distribution” package itself. The “ProFont Distribution” package can be distributed for free along with products for which you do charge money. The “ProFont Distribution” package can also be distributed for free as part of collections of more than 10 third party products sold as a collection (such as on the Apprentice CD series). If you do distribute “ProFont Distribution” along with another product or as part of a collection, Stephen C. Gilardi and Carl R. Osterwald would appreciate very much each receiving a complimentary copy of the whole distribution (e.g., any CD-ROM it appears on), but this is not a requirement. If you have questions about redistribution, please contact Stephen C. Gilardi at squeegee@usa.net.
sweet! I hope it works fine, thx so much! Alternatively, maybe you could allow the user to upload its own fonts to the ipad, to overcome any licensing? I know it's quite some work, but it would allow maximum flexibility. Great product by the way!
As far as I know, I have to register fonts in the info.plist file.
This can't be changed after it is in the App Store. So, if I'm
not mistaken, I don't think this would be possible.
Not sure about iPhone, but in OSX you can load fonts on the fly from a file, I've done it myself, I'm happy to share code if it helps
Well, it currently looks like this in Info.plist:


If I don't register the font files here, they are not available in the app.

You can look up UIAppFonts in the docs.
How about this monospace font, designed for code listings: "Inconsolata"
Really nice and it is my standard font in all my editors...
The font is under the OFL - http://scripts.sil.org/OFL - I just had a look at it and it looks like I can use it in Textastic.

I'll try it on the iPad.