#478 Broken support for cyrillic characters when setting a consolefont containing cyrillic characters in openMSX

Next_release
open
nobody
None
5
2013-10-05
2013-07-24
joxy
No

In Ubuntu, when I do , the cyrillic chars show up as rectangles.

When I open this font from (MATE's, http://mate-desktop.org) `caja' program (a renamed Nautilus), the font viewer shows cyrillic characters okay.

$ openmsx --version
openMSX 0.9.1
flavour: i686
components: AO CORE GL LASERDISC

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise

Discussion

  • joxy
    joxy
    2013-07-24

    Hmm. I do "set consolefont /usr/share/fonts/truetype/freefont/FreeMono.ttf"

     
  • joxy
    joxy
    2013-07-24

    BTW, the "Copyright" string for this font reads "Copyleft 2002, 2003, 2005, 2008, 2009, 2010 Free Software Foundation."

     
  • joxy
    joxy
    2013-07-24

    This is a "seems-to-be" bug, as I didn't investigate whether this font actually supports the cyrillic chars.

     
    Last edit: joxy 2013-07-24
  • joxy
    joxy
    2013-07-24

    I restarted openmsx, the console's font started to show cyrillic chars, though the letter spacing is incorrect. CHanging title for this bug report

     
  • joxy
    joxy
    2013-07-24

    The actual bug is: the blinking cursor shows at incorrect place with a custom consolefont. Is is (approximately) at the hand-drawn redline at the screenshot.

     
  • The console font should be changed immediately after changing the 'consolefont' setting, similarly for the 'consolefontsize' setting. This was a bug. It should be fixed in git revision 7f01975.
    I believe the rendering artifacts you saw were caused by using a non-monospaced font. I've added a check for this in the code, now openMSX refuses to use such fonts (in the console).
    Please update to latest git revision and retest. Thanks.

     
  •  
  • Joxy, please confirm whether this is fixed now, so we can close this ticket.