pk3 fonts to ttf

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
FatoeMan0411
Posts: 4
Joined: Tue Sep 28, 2021 1:46 am

pk3 fonts to ttf

Post by FatoeMan0411 »

hey so ive looked all over on how to turn pk3 fonts from zdoom into ttf files
and i found this site but couldnt find it on here either so uhh how would one do such a thing?
:D :D :D
You do not have the required permissions to view the files attached to this post.
Gez
 
 
Posts: 17752
Joined: Fri Jul 06, 2007 3:22 pm

Re: pk3 fonts to ttf

Post by Gez »

There's no way to have the conversion done automatically, sorry.

TrueType fonts are vector-based, so the shapes of the glyphs are described as points, lines, and quadratic Bezier curves. Whereas whichever [wiki]font format[/wiki] is actually found in that pk3 (a pk3 is just a zip file; there's no such thing as pk3 font, it'd be like talking about a zip font) is a bitmap font format, meaning the glyphs are described as pixels. To convert from bitmap to vector, you need to actually interpret the data, which requires intelligence. A simple automated conversion will most likely give you crappy results.

Basically, what I'm saying is that you have to do it the hard way: manually. Here's a couple of programs you can use: FontForge is free, while FontCreator only offers a free trial. I have never used either, so I don't have a specific recommendation or any sort of usage tips, sorry.
FatoeMan0411
Posts: 4
Joined: Tue Sep 28, 2021 1:46 am

Re: pk3 fonts to ttf

Post by FatoeMan0411 »

thanks gez!
didnt need it doing automatic cuz doing it the hard way always has better results if u put the work in lol
ill check out those programs
User avatar
Enjay
 
 
Posts: 26443
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: pk3 fonts to ttf

Post by Enjay »

Is this of any use to you? It looks similar to the font that you attached and would save you a lot of work:

https://www.fonts4free.net/amazdoom-font.html
FatoeMan0411
Posts: 4
Joined: Tue Sep 28, 2021 1:46 am

Re: pk3 fonts to ttf

Post by FatoeMan0411 »

Enjay wrote:Is this of any use to you? It looks similar to the font that you attached and would save you a lot of work:

https://www.fonts4free.net/amazdoom-font.html
hmm i already looked into free fonts online but i really want to get those og fonts into ttf form
maybe might put them on here when theyre done (if anyone knows if thats allowed)
User avatar
wildweasel
Moderator Team Lead
Posts: 21616
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: pk3 fonts to ttf

Post by wildweasel »

If you're up for some manual labor, you might be able to reconstruct the fonts using Fontstruct, which lets you "build" a vector font out of building blocks. There's no automatic way to do this, though, and you must realize that the resulting font cannot be full-color by definition.
FatoeMan0411
Posts: 4
Joined: Tue Sep 28, 2021 1:46 am

Re: pk3 fonts to ttf

Post by FatoeMan0411 »

wildweasel wrote:If you're up for some manual labor, you might be able to reconstruct the fonts using Fontstruct, which lets you "build" a vector font out of building blocks. There's no automatic way to do this, though, and you must realize that the resulting font cannot be full-color by definition.
oh damn i did not realize that...
im gonna have to look into other methods/file types then
very good observation, probably explains why i havent been able to find them online :lol:

Return to “Assets (and other stuff)”