Re: Monospaced font
Gottfried Barrow <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <[email protected]> |
This is either for completeness, or it's spam. I made another attempt to try and track down the 'Monospaced' TTF file. The most informative find for me was the third page related to GNU Unifont: http://czyborra.com/unifont That page removes a little more mystery from how Microsoft fonts are related to Unicode. I also finally put more effort into looking at the TTF files in 'C:/Windows/WinSxS'. I think this is all on topic for jEdit. In the past, with code editors in general, I quit making any changes to font defaults. Things generally didn't look better, and making changes ended up being a big hassle, full of mystery. The first three links below are the important part. This GNU Unifont might be useful to others in jEdit, even if it's lower quality. Roman Czyborra explains the why of low quality. The GNU Unifont page is here: http://unifoundry.com/unifont.html That leads to: https://savannah.gnu.org/projects/unifont Which leads to: http://czyborra.com/unifont/ Which leads to sections "Didn't others try this earlier?" and "Lucida Sans Unicode," where finally I get a font filename to search on: 'l_10646.ttf'. I search in 'C:/Win/WinSxS' and it shows up. As an aside about how fonts can be ridiculous, in Notepad++, the letter 'l' and the number '1' look near exactly alike, and I discover that 'l' is a letter when I search on 'l_10646.ttf' and find it on the web: https://github.com/caarlos0-graveyard/msfonts This is very convenient, but most likely illegal (but thank you very much anyway 'caarlos0-graveyard'). On http://czyborra.com/unifont he says: "You get the point: the Lucida font is beautiful but not free..." With Microsoft fonts, the licensing part is key for me. So maybe I'm wasting my time looking for the TTF file for 'Monospaced'. Okay, I quickly find out that 'Lucida Sans Unicode' is not 'Monospaced'. I really want to find the TTF file, but there's a problem. Unless I read that a specific file is 'Monospaced' I can't determine that the TTF file is 'Monospaced'. If I put a TTF in 'lib/fonts', the Oracle doc says that 'lib/fonts' takes priority over the OS location. But if they look identical, how do I know 'lib/fonts/foo.ttf' is 'Monospaced'? I guess I look through the many fonts in jEdit, to see that no new font name shows up. GNU Unifont has given me some good info to use, which is the file size of 'unifont-10.0.07.ttf', which is about 12MB. Most TTFs are less than 1KB. I search again in 'C:/Windows/WinSxS', '*.tff", with the file explorer FreeCommander. You might ask? "And wasn't lots of searching in 'C:/Windows/WinSxS' something you should have been doing early on?" To which I reply, "Well, yes, but it would take lots of words to explain the problem of searching with Windows File Explorer, versus using 3rd-party file explorers, like FreeCommander, all of which I eventually quit using because they never quite work right. Do you want me to explain?" You probably reply, "No. In fact I quit reading this sometime back." Now I see a number of files in the >4MB size: 'simsunb.ttf', 'malgun.ttf', 'malgunbd.ttf', and 'malgunsl.ttf'. Are any of these 'Monospaced'? It could be that the TTF file size doesn't have to be big, but it seems the 'Monospaced' TTF should be larger than normal. Maybe 'Monospaced' is a composite that the OS fakes jEdit into seeing. But if I can't find a TTF on the web which clearly states I can distribute it, I guess GNU Unifont has to be my 'Monospaced'. Regards, GB ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users