lucy / tewi-font

small bitmap font
MIT License
608 stars 21 forks source link

ttf format #23

Open ghost opened 8 years ago

ghost commented 8 years ago

Can we have ttf format available too? i would love to use it over my osx :3

Spodess commented 8 years ago

I'd like this too

lucy commented 8 years ago

should be pretty easy with fontforge

ghost commented 8 years ago

can you do for us?

s4nji commented 7 years ago

@vyscond It's not ttf and I don't remember anymore how I generated it, but OSX loads it just fine. tewimedium.dfont.zip

ghost commented 7 years ago

awww ysss @s4nji thanks man :3

diffficult commented 7 years ago

@lucy tried to pump ttf using fontforge and it just doesn't work with the plain .bdf, can only make .fon valid windows fontfiles which are missing pretty much everything that isn't in the regular alphabet, no symbols at all. Using @s4nji was able to retrieve .ttf files using dfontsplitter, crossfont and even fontforge. In every single case all were invalid .ttf files that Windows 7, 8 and 10 refuse to open. Is it possible to get valid TrueType versions added to the releases? or if it's too much trouble any working/proven instructions/script to get those, like the script to generate .psf valid ones?

ComfyPillow commented 7 years ago

I gave a shot at making a primitive conversion into a TrueType font. I'm by all means an amateur when it comes to fonts but the result seems somewhat usable or at least a foundation to improve upon.

tewi

I used the fontforge tool: https://fontforge.github.io/en-US/

  1. Open Font "tewi-medium-11.bdf"
  2. "Font Information" -> Layers -> Set "All Layers Quadratic" (Don't know if that matters with bitmap fonts)
  3. "Font Information" -> Em Size -> 1024 (Current one should be 1000, TTF requires an En Size in a power of 2 number. Changing this will screw up the width's)
  4. Press ok and leave dialog
  5. "Edit" -> "Select" -> "Glyphs Worth outputting"
  6. "Metrics" -> "Set Width" -> Increment by 2
  7. "Metrics" -> "Center in Width"

There are lots of room for improvements for individual characters but personally this already gave me some good results.

Here's the font I generated if someone doesen't want to go through the steps above: tewimedium.zip

ForsakenHarmony commented 7 years ago

can't really get it to work on windows :/ it's always invisible

font installer

also getting this error when opening it in fontforge

fontforgeerror

lehitoskin commented 7 years ago

Converting it directly from fontforge doesn't appear to work. The TTF/OTF will be generated, but opening it again with fontforge shows an empty box for each glyph and gnome-font-viewer errors out when trying to open the file.

syslino commented 7 years ago

@MoistBaguette Thank you! for me this works like a charm in termite. Never heard of this font before, but i love it! Copied it to ~/.local/share/fonts/ ran fc-cache and updated my configs. Very much like!

Confuseh commented 6 years ago

i made one that's windows compatible, fontforge didn't really like exporting it, but it seems to work just fine tewi.zip

mixedCase commented 6 years ago

@MoistBaguette Finally a way to use VSCode without wanting to gouge my eyes out. Thank you.

Eiyeron commented 6 years ago

Hello, I'm currently facing a few spacing issues with the TTF font. Hello, I have a question on the windows-compatible font. In both emacs and VSCode the bold version, bold characters are kinda merging together where as on notepad they're all spaced apart. image image

My unenlightened guess is that notepad spaces characters based on the font itself than the family base, am I right? So which one of spacing methods is the expected one?

Thanks and have a nice day

ghost commented 5 years ago

@lucy I think it's time to close this thread 😬

ForsakenHarmony commented 5 years ago

Still not really fixed though

Sylenss commented 5 years ago

@MoistBaguette downloading your version on mac comes up inside of the font book empty, @lucy do you know if you can make a ttf for osx really would love to use this font here