Replies: 11 comments
-
This isn't an answer but a hint for where to look for the problem. It looks like the problem has to do with the case of the directories -- ComicSans vs COMICSANS |
Beta Was this translation helpful? Give feedback.
-
I renamed the |
Beta Was this translation helpful? Give feedback.
-
Use the force, Paolo:
then go and look at I suggest capturing the trace output in a file because it's probably longer than you can see in the (non-scrollable) trace window it would otherwise create. |
Beta Was this translation helpful? Give feedback.
-
you might also try TRACE DIRECCTORY too |
Beta Was this translation helpful? Give feedback.
-
Yes, TRACE DIRECTORY if you're doing FONTSAVAILABLE with the CHECKFILESTOO flg -- otherwise I believe it constructs exactly the possible names for the font file and checks each one. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if TEDIT just does FONTSAVAILABLE - that's something else to TRACE or BREAK when you're looking at what it did when you tried to set the font from TEDIT. I think it would be an error if TEDIT did its own enumeration, and given that you gave it a font name and it should have derived all other parameters from the font you were changing from, I think that FONTCREATE is the path it should have taken. @rmkaplan - comments? |
Beta Was this translation helpful? Give feedback.
-
I looked at the traces for DIRECTORY and FONTSAVAILABLE when called from TEDIT - FONTSAVAILABLE expects that every directory named on DISPLAYFONTDIRECTORIES will have a "Cnnn" (e.g., C0) subdirectory for any character set nnn that you might be asking for. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
With my initial font setup I used Nick's code to trace
Nick is right, "{DSK}paolo>il>fonts>" doesn't have any "Cnnn" subdirectories as |
Beta Was this translation helpful? Give feedback.
-
Interestingly, I get similar warnings also for Medley system fonts such as TimesRomand 36, not just BDF ones. But otherwise the fonts are used correctly. |
Beta Was this translation helpful? Give feedback.
-
I'll just note that part of the medleyfont cleanup is to bring all the character sets for each font into a single file, and to depend on the subdirectory structure (hopefully, just during a transition period) only for legacy font files. I think the tools for doing that, at least for the BDF fonts that can be created in MCCS from the start, are in the draft PR. I have to write and push the documentation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I used READ-BDF to convert to displayfonts the ComicSans and Commodore 64 BDF fonts, which I saved under
~/il/fonts/
on my Linux Mint box. The resulting directory structure is:In my init file I added the relevant directories to my
DISPLAYFONTDIRECTORIES
:However, when I click
Other
in TEdit's charlooks menu to load Comic Sans 15 I get this warning:Other than that, clicking
APPLY
does apply the change and the font is usable elsewhere on the system:Why the warning? Medley seems to expect the font to be under
~/il/fonts/
rather than in subdirectories. Is there anything wrong with my setup?Beta Was this translation helpful? Give feedback.
All reactions