[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#666542: incorrect rendering of lat15 characters



On Sun, Apr 15, 2012 at 10:40:14AM +0300, Anton Zinoviev wrote:
> 
> In case what I am asking is impossible (or nobody knows how to do it) 
> there are two alternatives.
> 
> 1. I can disable font loading in console-setup on kFreeBSD.  This is bad 
> because CP437 covers only few languages.

Actually console-setup can easily test whether the encoding of the 
locale is UTF-8.  Then it can load a font only in case the encoding is 
not UTF-8.  I will make this change in the next version, this is going 
fix the bug.

For now you can set the variables FONTFACE and FONTSIZE in 
/etc/default/console-setup to empty strings.  This should fix the 
problem.
 
On Sun, Apr 15, 2012 at 02:06:31PM +0200, Robert Millan wrote:
> 
> I tried with kfreebsd-downloader on an up-to-date Debian GNU/kFreeBSD
> system.  kfreebsd-downloader downloads binaries for kFreeBSD 9.0 from
> upstream.  So as far as the kernel it's concerned, we get the same
> result.
> 
> I didn't notice any difference when booting with upstream kernel.

I have made no tests but from what I've read in order to turn on the 
UTF-8 mode on the console one has to compile the kernel with options 
TEKEN_XTERM and TEKEN_UTF8.  Doesn't this mean there are different 
kernels for UTF-8 and for 8-bit encodings?  Or maybe there some some 
commands (ioctl?) or maybe terminal control sequences one can use to 
turn on or off the UTF-8 mode on the console?

Anton Zinoviev


Reply to: