Official Thimbleweed Park Forums

Fonts wit non-ascii

A few of other people are doing translations (Spanish, German) and it would be nice if there was a unified font with all that chars so they can be released.

If you add chars to the fonts using http://www.pentacom.jp/pentacom/bitfontmaker2/, it would be nice if you post the changed font so others and use it and build the char set.

1 Like

From what I saw I think its only one font that doesn’t have all the needed chars, at least for Spanish: makoFontBold.ttf

I haven’t edited a font before, if I succeed will post it here.

Yes, that’s the speech font and it lacks the accents I need for Italian.

How do we plug the bitmapfont in? The tool gives a text representation, but I thought the game uses the .ttf font now.

Never mind, I saw now that there’s a β€œbuild font” button :man_facepalming: good, I’ll work on accents then.

I’ll keep you posted.

Go to the website Ron gave us, click on β€œdata import-export”
image and copy the text you find down here:

Font details

{β€œ33”:[12,12,12,12,12,12,12,12,12,0,12,12,0,0,0,0],β€œ34”:[108,108,108,0,0,0,0,0,0,0,0,0,0,0,0,0],β€œ35”:[0,816,816,4092,4092,816,816,4092,4092,816,816,0,0,0,0,0],β€œ36”:[32,112,248,428,44,120,240,416,428,248,112,32,0,0,0,0],β€œ37”:[0,192,204,236,96,96,112,48,48,440,408,24,0,0,0,0],β€œ38”:[112,248,396,396,252,120,112,1784,1996,908,2040,1776,0,0,0,0],β€œ39”:[12,12,12,0,0,0,0,0,0,0,0,0,0,0,0,0],β€œ40”:[96,48,24,24,12,12,12,12,24,24,48,96,0,0,0,0],β€œ41”:[12,24,48,48,96,96,96,96,48,48,24,12,0,0,0,0],β€œ42”:[876,504,240,504,876,0,0,0,0,0,0,0,0,0,0,0],β€œ43”:[0,0,96,96,96,1020,1020,96,96,96,0,0,0,0,0,0],β€œ44”:[0,0,0,0,0,0,0,0,0,0,12,12,8,4,0,0],β€œ45”:[0,0,0,0,0,0,124,124,0,0,0,0,0,0,0,0],β€œ46”:[0,0,0,0,0,0,0,0,0,0,12,12,0,0,0,0],β€œ47”:[384,384,192,192,96,96,48,48,24,24,12,12,0,0,0,0],β€œ48”:[112,248,216,396,396,396,396,396,396,216,248,112,0,0,0,0],β€œ49”:[112,120,124,108,96,96,96,96,96,96,96,96,0,0,0,0],β€œ50”:[240,504,924,780,896,448,224,112,56,28,1020,1020,0,0,0,0],β€œ51”:[240,504,924,780,896,496,496,896,780,924,504,240,0,0,0,0],β€œ52”:[448,480,480,432,432,408,408,1020,1020,384,384,384,0,0,0,0],β€œ53”:[508,508,12,12,124,252,448,384,384,460,252,120,0,0,0,0],β€œ54”:[496,1016,796,12,252,508,924,780,780,924,504,240,0,0,0,0],β€œ55”:[2044,2044,1792,896,896,448,448,224,224,112,112,56,0,0,0,0],β€œ56”:[112,248,476,396,476,248,248,476,396,476,248,112,0,0,0,0],β€œ57”:[112,248,396,396,396,504,496,384,448,224,112,48,0,0,0,0],β€œ58”:[0,0,0,12,12,0,0,0,12,12,0,0,0,0,0,0],β€œ59”:[0,0,0,12,12,0,0,0,12,12,8,4,0,0,0,0],β€œ60”:[0,0,0,0,896,480,120,28,120,480,896,0,0,0,0,0],β€œ61”:[0,0,0,0,0,252,252,0,252,252,0,0,0,0,0,0],β€œ62”:[0,0,0,0,28,120,480,896,480,120,28,0,0,0,0,0],β€œ63”:[240,504,924,780,768,896,448,224,96,0,96,96,0,0,0,0],β€œ64”:[0,0,0,496,1016,1820,1612,1708,1996,1820,1016,496,0,0,0,0],β€œ65”:[448,448,992,864,864,1584,1584,4088,4088,3096,6156,6156,0,0,0,0],β€œ66”:[252,508,908,780,908,508,508,908,780,908,508,252,0,0,0,0],β€œ67”:[960,4080,3128,24,12,12,12,12,24,3128,4080,960,0,0,0,0],β€œ68”:[124,508,908,780,1548,1548,1548,1548,780,908,508,124,0,0,0,0],β€œ69”:[508,508,12,12,12,508,508,12,12,12,508,508,0,0,0,0],β€œ70”:[508,508,12,12,12,508,508,12,12,12,12,12,0,0,0,0],β€œ71”:[960,4080,3128,24,12,7948,7948,6156,6168,7224,4080,960,0,0,0,0],β€œ72”:[1548,1548,1548,1548,1548,2044,2044,1548,1548,1548,1548,1548,0,0,0,0],β€œ73”:[12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ74”:[384,384,384,384,384,384,384,384,396,476,248,112,0,0,0,0],β€œ75”:[780,908,460,236,124,60,60,124,236,460,908,780,0,0,0,0],β€œ76”:[12,12,12,12,12,12,12,12,12,12,508,508,0,0,0,0],β€œ77”:[28700,30780,30780,27756,27756,27756,26316,26316,26316,25484,25484,24844,0,0,0,0],β€œ78”:[1548,1548,1564,1596,1660,1772,1996,1932,1804,1548,1548,1548,0,0,0,0],β€œ79”:[480,1008,1848,1560,3084,3084,3084,3084,1560,1848,1008,480,0,0,0,0],β€œ80”:[124,252,460,396,460,252,124,12,12,12,12,12,0,0,0,0],β€œ81”:[480,1008,1560,1560,3084,3084,3276,3532,1944,1816,4080,3552,0,0,0,0],β€œ82”:[124,252,460,396,460,252,124,236,460,396,908,780,0,0,0,0],β€œ83”:[240,504,780,780,28,248,496,896,780,780,504,240,0,0,0,0],β€œ84”:[1020,1020,96,96,96,96,96,96,96,96,96,96,0,0,0,0],β€œ85”:[3084,3084,3084,3084,3084,3084,3084,3084,1560,1560,1008,480,0,0,0,0],β€œ86”:[1548,1548,1548,792,792,792,432,432,432,224,224,64,0,0,0,0],β€œ87”:[49932,49932,49932,51084,28632,27864,27864,31992,14448,12336,12336,12336,0,0,0,0],β€œ88”:[780,924,408,240,240,96,96,240,240,408,924,780,0,0,0,0],β€œ89”:[3084,3612,1560,816,1008,480,192,192,192,192,192,192,0,0,0,0],β€œ90”:[1020,1020,768,384,192,96,48,24,12,12,1020,1020,0,0,0,0],β€œ91”:[60,60,12,12,12,12,12,12,12,12,60,60,0,0,0,0],β€œ92”:[12,12,24,24,48,48,96,96,192,192,384,384,0,0,0,0],β€œ93”:[60,60,48,48,48,48,48,48,48,48,60,60,0,0,0,0],β€œ94”:[32,112,248,476,396,0,0,0,0,0,0,0,0,0,0,0],β€œ95”:[0,0,0,0,0,0,0,0,0,0,0,0,1020,1020,0,0],β€œ96”:[12,24,48,0,0,0,0,0,0,0,0,0,0,0,0,0],β€œ97”:[0,0,0,248,508,396,480,504,412,396,508,888,0,0,0,0],β€œ98”:[12,12,12,236,508,924,780,780,780,924,508,236,0,0,0,0],β€œ99”:[0,0,0,240,504,412,12,12,12,412,504,240,0,0,0,0],β€œ100”:[768,768,768,880,1016,924,780,780,780,924,1016,880,0,0,0,0],β€œ101”:[0,0,0,240,504,780,1020,1020,12,780,504,240,0,0,0,0],β€œ102”:[240,504,408,24,24,124,124,24,24,24,24,24,0,0,0,0],β€œ103”:[0,0,0,880,1016,924,780,780,780,924,1016,880,768,908,504,240],β€œ104”:[12,12,12,236,508,924,780,780,780,780,780,780,0,0,0,0],β€œ105”:[12,12,0,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ106”:[24,24,0,24,24,24,24,24,24,24,24,24,24,27,31,14],β€œ107”:[12,12,396,460,236,124,60,124,108,204,460,396,0,0,0,0],β€œ108”:[12,12,12,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ109”:[0,0,0,1644,4092,3548,3276,3276,3276,3276,3276,3276,0,0,0,0],β€œ110”:[0,0,0,236,508,412,396,396,396,396,396,396,0,0,0,0],β€œ111”:[0,0,0,240,504,924,780,780,780,924,504,240,0,0,0,0],β€œ112”:[0,0,0,236,508,924,780,780,780,924,508,236,12,12,12,12],β€œ113”:[0,0,0,880,1016,924,780,780,780,924,1016,880,768,768,768,768],β€œ114”:[0,0,0,236,508,412,12,12,12,12,12,12,0,0,0,0],β€œ115”:[0,0,0,248,508,396,60,248,448,396,508,248,0,0,0,0],β€œ116”:[24,24,24,124,124,24,24,24,24,216,248,112,0,0,0,0],β€œ117”:[0,0,0,396,396,396,396,396,396,460,1020,888,0,0,0,0],β€œ118”:[0,0,0,780,780,924,408,408,240,240,96,96,0,0,0,0],β€œ119”:[0,0,0,3084,3084,3084,3276,1752,1752,2040,1008,816,0,0,0,0],β€œ120”:[0,0,0,396,396,476,248,112,248,476,396,396,0,0,0,0],β€œ121”:[0,0,0,780,780,780,780,408,408,240,240,96,96,48,56,24],β€œ122”:[0,0,0,508,508,448,224,112,56,28,508,508,0,0,0,0],β€œ123”:[96,48,24,24,24,12,12,24,24,24,48,96,0,0,0,0],β€œ124”:[12,12,12,12,12,12,12,12,12,12,12,12,12,0,0,0],β€œ125”:[12,24,48,48,48,96,96,48,48,48,24,12,0,0,0,0],β€œ126”:[0,152,252,100,0,0,0,0,0,0,0,0,0,0,0,0],β€œ161”:[12,12,0,12,12,12,12,12,12,12,12,12,12,0,0,0],β€œ162”:[0,192,1008,2040,1756,204,204,204,1756,2040,1008,192,0,0,0,0],β€œ163”:[496,1016,792,24,24,252,252,24,24,24,1020,508,0,0,0,0],β€œ164”:[0,0,0,396,508,248,216,248,508,396,0,0,0,0,0,0],β€œ165”:[3084,3612,1560,816,1008,480,192,1008,192,1008,192,192,0,0,0,0],β€œ166”:[12,12,12,12,12,0,0,12,12,12,12,12,0,0,0,0],β€œ167”:[248,508,396,124,248,396,396,248,496,396,508,248,0,0,0,0],β€œ168”:[0,204,204,0,0,0,0,0,0,0,0,0,0,0,0,0],β€œ169”:[0,0,0,496,1016,1820,1740,1580,1740,1820,1016,496,0,0,0,0],β€œ178”:[24,36,16,8,60,0,0,0,0,0,0,0,0,0,0,0],β€œ179”:[28,32,24,32,28,0,0,0,0,0,0,0,0,0,0,0],β€œ181”:[0,0,0,396,396,396,396,396,396,460,1020,892,12,12,12,12],β€œ182”:[2032,760,760,760,760,752,704,704,704,704,704,704,0,0,0,0],β€œ192”:[96,192,0,224,224,432,432,792,1016,2044,1548,1548,0,0,0,0],β€œ193”:[192,96,0,224,224,432,432,792,1016,2044,1548,1548,0,0,0,0],β€œ200”:[48,96,508,508,12,12,508,508,12,12,508,508,0,0,0,0],β€œ201”:[96,48,508,508,12,12,508,508,12,12,508,508,0,0,0,0],β€œ204”:[6,12,0,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ205”:[24,12,0,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ210”:[96,192,0,496,1016,1820,1548,1548,1548,1820,1016,496,0,0,0,0],β€œ211”:[192,96,0,496,1016,1820,1548,1548,1548,1820,1016,496,0,0,0,0],β€œ224”:[48,96,0,248,508,396,480,504,412,396,508,888,0,0,0,0],β€œ225”:[96,48,0,248,508,396,480,504,412,396,508,888,0,0,0,0],β€œ232”:[48,96,0,240,504,780,1020,1020,12,780,504,240,0,0,0,0],β€œ233”:[192,96,0,240,504,780,1020,1020,12,780,504,240,0,0,0,0],β€œ236”:[6,12,0,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ237”:[24,12,0,12,12,12,12,12,12,12,12,12,0,0,0,0],β€œ242”:[48,96,0,240,504,924,780,780,780,924,504,240,0,0,0,0],β€œ243”:[192,96,0,240,504,924,780,780,780,924,504,240,0,0,0,0],β€œ246”:[0,144,0,240,504,924,780,780,780,924,504,240,0,0,0,0],β€œ249”:[48,96,0,396,396,396,396,396,396,460,1020,888,0,0,0,0],β€œ250”:[96,48,0,396,396,396,396,396,396,460,1020,888,0,0,0,0],β€œ8220”:[0,40,20,20,0,0,0,0,0,0,0,0,0,0,0,0],β€œ8221”:[0,40,40,20,0,0,0,0,0,0,0,0,0,0,0,0],β€œ8364”:[0,480,1008,824,24,252,24,252,24,824,1008,480,0,0,0,0],β€œ8482”:[0,2784,3648,3648,2624,0,0,0,0,0,0,0,0,0,0,0],β€œ9679”:[0,0,0,0,64,192,448,960,448,192,64,0,0,0,0,0],β€œname”:β€œmakoFontBold2”,β€œcopy”:β€œAnonymous”,β€œletterspace”:β€œ64”,β€œbasefont_size”:β€œ512”,β€œbasefont_left”:β€œ62”,β€œbasefont_top”:β€œ0”,β€œbasefont”:β€œArial”,β€œbasefont2”:""}

Then click import and you’ll have my current version. I added accents for all vowels, so for Spanish you should add the reverse ? and ! and the Γ±, I think.

1 Like

Yes and the inverted question mark: ΒΏyou don’t use that in Italian, right?

Anyway I tried importing it into bitfontmaker2 with no luck, maybe if you upload the new ttf file?

I created a google drive folder
https://drive.google.com/drive/folders/1fr9ylB8w8fs_mHDkRDb7U6AZfsMeoV62?usp=sharing

so if you make changes you can update the file in here and we all get the new version :+1:

2 Likes

I just updated the file with the lower case Γ± and the inverted question mark.

2 Likes

I corrected the font so it can receive most special chars (the uppercase chars were starting too close to the top, so there was no space for accentuation like in Γƒ, Á, Γ”, etc). I also added all missing special chars for portuguese and added a few other chars to the best of my abilities.

Data export from BitFontMaker2:

TTF Font working for most languages (got to rename it to MakeFontBold.ttf if you wanna try it out):

2 Likes

Sorry, I put the Data in a txt now.

I added β€œPlus” in the name of the ttf file because I made a lot of small changes in the font and didnt want to overwrite Guga’s work, in case my small modifications are not welcome.

But now it works for portuguese and most languages.

Please rename it removing the β€˜Plus’ from the filename if you wish to overwrite the old font.

I redesigned the accented uppercase to be smaller. I don’t like it that much, but I’m not a fan of shifting the letters below the line, as you get a strange alignment in mixed case.

image
vs
image

The question is: how often do you have special uppercase letters in Portuguese?

In Italian, there are usually only two cases: when a sentence begins with the verb β€œto be”, but it’s a single β€œΓˆβ€, or when someone is shouting :stuck_out_tongue: so the whole text is in uppercase.

While it’s way more common to have normal uppercases for sentences. So I’d be more inclined to have a bad looking accented letter (e.g. a shout that says β€œI won’t do it” image ) than seeing the misalignment in every sentence (image)

But… it’s only my opinion, I’d like to know what others think.

Anyway, great job on all other characters!

3 Likes

Ok, I think that now I corrected everything. I overwrote my TTF and txt files in your folder. Could you please retest it and let me know what you think?

In Italian, there are usually only two cases: when a sentence begins with the verb β€œto be”, but it’s a single β€œΓˆβ€, or when someone is shouting :stuck_out_tongue: so the whole text is in uppercase.

Almost the same in portuguese, mostly the verb β€œto be” (a single β€œΓ‰β€) and uppercase β€œshouting”. But, still, there are many other cases, like words that starts with a vogal with an accent because accentuation rules of tonic syllables, etc.

I think now it’s better than it was, try it out and see. I also improved the @, registered, copyright and other chars.

I suppose the game uses only the final TTF so I would rather edit just the TTF and add β€œone pixel” on top to make space for the diacritic marks. We, Czechs, use them a lot (ěőčřýžýÑíéďΕ₯ňúů), not to mention other neighbouring nations (Ε›Δ‡ΕΊΕ•ΔΊ)
I’m just not sure what will happen with the changed fonts in Delores engine…?

DroidSansMono.ttf - ok
makoFontPlusBold.ttf - incomplete
MargatroidGrotesque.ttf - incomplete
NokiaSmallBold.ttf - incomplete
Savior1.ttf - incomplete
SpecialElite.ttf - ok

If you don’t mind I’ll look into it tomorrow.

I’m not sure why the font height can’t be extended. Delores use FreeType to do all font rendering. If the height can’t be extended, that probably just a limitation of the web-based font editor.

I don’t expect to crash the app or something like that but I suspect it might look slightly differently when the properties (ascender, etc.) of the font change.

Anyway, here’s my revision:

It’s OTF but I hope it should not be a problem.

Changes:

  • all glyphs moved β€œtwo pixels” up to match font baseline
  • ascender moved β€œone pixel” up
  • removed many redundant points
  • modified glyphs: @ 5 germandlbs caron acute macroncombining ogonek cedilla dieresis hungarumlaut etc.
  • all characters with diacritic marks converted to composite characters (so they can be easily changed)
  • both Latin Supplement and Latin Extended-A are filled (but not quite completed)

To do:

  • diacritic marks in some composite glyphs need to be slightly moved (it’s not pixel perfect)
  • add one more pixel below the base line to create some space for cedilla, ogonek, etc.?
  • Ohungarumlaut is completely off
  • Lslash is very temporary =)
  • etc.

Please somebody try to test it within the engine because I can’t do that today.

2 Likes

Is there a reason it can’t be a .ttf (or converted to one)?

It can be converted using an online conversion tool, i.e.
https://convertio.co/en/otf-ttf/
https://cloudconvert.com/otf-to-ttf

While I’m pretty sure FreeType can open .otf files, the Delores engine needs to β€œ.ttf” extension to tell it what kind of file it is. It is possible that just renaming the β€œ.otf” file with β€œ.tff” will work. Converting the file to β€œ.tff” is probably best since it won’t rely on a rename hack to work.

I just tried .otf files and Delores and FreeType load them just fine.

2 Likes

I’m sorry for the inconvenience…

The exact relation between OTF and TTF is still mystery for me. As far as I know OTF should just encapsulate TTF with slightly different header. I use mainly High-Logic Font Creator and it offers export to β€œTTF/OTF” as a single (!) format but it always adds β€œ.otf” extension. Now I tried to convert the OTF file through Convertio and the resulting TTF is exactly the same file. I guess OTF can (but does not have to) be the same as TTF. In this case renaming to TTF work just fine. :blush:

Here’s my (hopefully) final version:

Some (about five of them) diacritical marks are still placed at half-pixel position (e.g. Abreve) but all other versions I created looked worse to me so I kept them that way. The rest should be fixed.

Official Thimbleweed Park Forums powered by Discourse.