Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: a1bert on May 08, 2007, 19:26:01

Title: iso-8859-2 (latin2) font, bdftobogl
Post by: a1bert on May 08, 2007, 19:26:01
Current iso-8859-1 font does not contain all characters needed to display east european languages. The best way would be to use utf-8 encondings but it's too complicated so I decided to make a quick hack and use iso-8859-2 font.

but my version of bdftobogl is different (newer?) than the one used for vompclient. what version of bdftobogl was used for generating helvB18.cc ?

what is the prefffered way to incorporate latin2 characters? use new bdftobogl to generate both latin1 and latin2 (and others) fonts and modify surface.cc or keep using old version  and generate only latin2 fonts using old version of bdftobogl?

what is the purpose of  I18n::charSets in language-data.h ?
Title: Re: iso-8859-2 (latin2) font, bdftobogl
Post by: davep on May 08, 2007, 20:22:35
Quote from: a1bert on May 08, 2007, 19:26:01
what is the purpose of  I18n::charSets in language-data.h ?

The I18n code in the VOMP client was copied from vdr. That application includes fonts with several different character sets, and loads the correct one for the currently-selected language. While the data structure is included in language-data.h, the code to handle multiple fonts (and the fonts themselves) is not.

Dave