Author Topic: Fonts - Adding special characters  (Read 3981 times)

0 Members and 1 Guest are viewing this topic.

Offline lookflower

Fonts - Adding special characters
« on: June 08, 2015, 10:41:40 AM »
I'm attempting to translate KQ4 into Esperanto, just for fun.  Esperanto has a few characters not in the original font resource: ĉ, ĝ, ĥ, ĵ, ŝ, ŭ, and their associated capitals.

Is there a tutorial for adding new characters to font files (or just a general font tutorial)?  Anything else I should know before embarking on this quest?  Thanks for your help! <3



Offline lskovlun

Re: Fonts - Adding special characters
« Reply #1 on: June 08, 2015, 02:30:23 PM »
I'm attempting to translate KQ4 into Esperanto, just for fun.  Esperanto has a few characters not in the original font resource: ĉ, ĝ, ĥ, ĵ, ŝ, ŭ, and their associated capitals.

Is there a tutorial for adding new characters to font files (or just a general font tutorial)?  Anything else I should know before embarking on this quest?  Thanks for your help! <3
You are going to have a problem with font encoding (SCI0 fonts use a 7-bit encoding); the parser is problematic for the same reason. Even if you manage to pack the 10 extra characters into the encoding somehow (is there a standard for this that doesn't require 8 bits?), keyboard input is going to be a hassle.
SCI01 is significantly upgraded in this respect, but I don't think anyone has tried to "upgrade" a game in this way, except at Sierra. As far as I know, all multilingual versions of SCI0 games were made by first porting them to SCI01. For a fan translation, this would probably involve decompiling the scripts and rebuilding them for SCI01 (but SCI Companion does not support targeting that version); a straight recompile would not work for the older version of KQ4 at least (it uses the old avoider extensively). The newer version of KQ4 was ported to use the newer avoider, and I assume that any kinks would have been worked on. I am not sure what other coding differences may exist between SCI0 and SCI01 (but it would probably be best to target one of the S.old.xxx versions; it seems they were made for this purpose).

Offline lookflower

Re: Fonts - Adding special characters
« Reply #2 on: June 08, 2015, 03:24:55 PM »
Thank you for your reply.  You said SCI Companion doesn't support targeting SCI01.  Is there a program that does?  I wouldn't mind taking a shot at porting.

Offline MusicallyInspired

Re: Fonts - Adding special characters
« Reply #3 on: June 08, 2015, 08:57:23 PM »
Sadly, no.
Brass Lantern Prop Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.054 seconds with 24 queries.