fixedsys icon indicating copy to clipboard operation
fixedsys copied to clipboard

The font doesn't show up in Konsole font selection dialog

Open kika opened this issue 9 years ago • 9 comments

Probably some metadata is missing. b8p54on

konsole --version gives Qt: 5.6.0, KDE Frameworks: 5.22.0, Konsole: 16.04.1 Arch Linux reported by @thimoteus

kika avatar Jun 05 '16 21:06 kika

I think it's because it doesn't tell the system that it's a monospace font, the original font also had this issue:

http://askubuntu.com/questions/210283/how-to-use-fixedsys-in-the-gnome-terminal-or-wherever-monospaced-fonts-are-requ

JobLeonard avatar Oct 31 '16 20:10 JobLeonard

The good news is that the link above also has a solution :)

JobLeonard avatar Nov 01 '16 09:11 JobLeonard

Good stuff, thanks for the link. I'll look if I can make the corresponding change in my sources so it compiles right from the beginning in the proper form.

I'm on the Mac and I tried to work with this font with FontForge with very poor results.

kika avatar Nov 01 '16 15:11 kika

Glad I could help a bit, looking forward to the next versions!

JobLeonard avatar Nov 09 '16 09:11 JobLeonard

BTW:

If you want, you can tweak one or more questionable features of Fixedsys. E.g., the zero character is shifted one pixel to the right. To shift it back to center, double click on it, then click Metrics → Set LBearing..., set the LBearing to 10 and click OK. You can also change the shape of characters, but always keep control points at multiples of 10, and the width at 80.

The position of the zero in your version is also still one pixel off

JobLeonard avatar Dec 02 '16 11:12 JobLeonard

I tried to work with this font with FontForge with very poor results.

Try Glyphs, it works great with bitmap fonts.

iiiGerardoiii avatar Dec 25 '16 13:12 iiiGerardoiii

I think this same issue may be the reason Windows Console (Command Prompt/Powershell) can't use this font. Any chance of a fix?

orffen avatar Jan 14 '19 01:01 orffen

The chance of the fix is seriously impaired by me not having neither Konsole nor Windows :-) I'd like to note that this font LOOKS bitmap, but it's not. See the readme, it consists of "pixels" drawn with vector lines. That's why it only works in one size, when these lines encompass real pixels and with antialiasing disabled. I personally tried FontForge and Glyphs with abysmal results. The only tool that worked was TTX and text editor. It's actually not that bad. The decompiled font (see the source in this repo) has a lot of some flags and values and whatnot, and I'm sure some of it affects the problem in this issue. I don't know enough about font technology to figure out what. I just like 8x16 fonts :-)

kika avatar Jan 26 '19 00:01 kika

The solution at the link @JobLeonard provided essentially removes all glyphs that are not 80 wide. (Since we use 10x10 square for a "pixel" it means exactly 8 "pixels"). If this solution works for you you are in the wrong place: this solution removes all ligatures that I spent so much time adding :-)

Zero offset was fixed a while ago.

kika avatar Jan 26 '19 00:01 kika