Hello, I am a happy user of syslinux since 3.x. I've been able to load a font to display French accented charecters since then, but it not the case anymore, as problems have started to raise with syslinux 5.x. program : EXTLINUX, ISOLINUX (same behaviour) In extlinux.conf, the culprit is : FONT=lat9w16 This font is taken from 'kbd' package, named lat9w-16.psfu. It contains a UTF-8 table, usually ignored by extlinux, but maybe it is not the case anymore? As usual, extlinux.conf is written using an ISO-8859-1 encoding, not UTF-8. All .c32 modules are present in /boot/extlinux/, next to extlinux.conf itself. 'extlinux --install' reports no errors. Result: It displays large vertical white bars and _every_ character is borked (but each boot, the same characters are wrongly interpreted the same, no random display here, even on the unaccented ones). The Fix is easy : comment the FONT= line in, then extlinux is OK, but obviously there are no more accents. :-/ I need the French accented characters, namely ?????????. At worst, I could drop the accented letters but I'd be very sad to. Tested on syslinux 5.01 and 5.10-pre2. This is the first time ever that I run into this problem with syslinux. Please find the extlinux.conf I use below. Thanks! appzer0 --- # # Fichier de configuration de 'syslinux'. # # ATTENTION ! Ce fichier doit ?tre encod? en ISO-8859-1 et non en UTF-8 ! # On charge d'embl?e le module du menu graphique : UI vesamenu.c32 PROMPT 0 # On laisse 10 secondes de r?flexion avant d'amorcer : TIMEOUT 100 # Couleurs : menu color border * #00000000 #00000000 none menu color screen * #90ffffff #00000000 * menu color title * #ffffffff #00000000 * menu color unsel * #90ffffff #00000000 * menu color hotkey * #ff6bff6b #00000000 * menu color sel * #e0ffffff #200cd22d * menu color hotsel * #e06bff6b #200cd22d * menu color scrollbar * #200cd22d #00000000 * menu color tabmsg * #60ffffff #00000000 * menu color cmdmark * #c000ffff #00000000 * menu color cmdline * #c0ffffff #00000000 * menu color timeout_msg * #80ffffff #00000000 * menu color timeout * #c0ffffff #00000000 * # Image d'arri?re-plan : MENU BACKGROUND syslinux.png # La police : FONT lat9w16.psf # Titre du menu : MENU TITLE Syst?me 0 Linux # On remplace le message anglophone "Press [tab] to edit options." MENU TABMSG Appuyez sur TAB pour ?diter les options de d?marrage # Message d'attente : MENU AUTOBOOT Lancement automatique dans # seconde{,s}... # 0 Linux : LABEL 0 MENU LABEL 0Linux LINUX ../noyau-3.8.1 APPEND ro vt.default_utf8=1 root=/dev/sda3 LABEL 0TEST MENU LABEL 0Linux test LINUX ../noyau-3.5.4 APPEND ro vt.default_utf8=1 root=/dev/sda5 LABEL SDA6 MENU LABEL Slackware 14.0 LINUX ../vmlinuz-huge-smp-3.2.29-smp APPEND ro vt.default_utf8=1 root=/dev/sda6 LABEL windoz MENU LABEL Win 7 KERNEL chain.c32 APPEND hd0 1 # Sous-menu pour les choix de claviers : MENU SEPARATOR LABEL - MENU LABEL Passer en ligne de commande MENU DISABLE MENU SEPARATOR LABEL be MENU LABEL Charger le clavier belge MENU INDENT 1 KERNEL kbdmap.c32 APPEND claviers/be.ktl LABEL cf MENU LABEL Charger le clavier canadien MENU INDENT 1 KERNEL kbdmap.c32 APPEND claviers/cf.ktl LABEL ch MENU LABEL Charger le clavier suisse MENU INDENT 1 KERNEL kbdmap.c32 APPEND claviers/ch.ktl LABEL fr MENU LABEL Charger le clavier fran?ais MENU INDENT 1 KERNEL kbdmap.c32 APPEND claviers/fr.ktl ## L'outil de d?tection de mat?riel HDT : # #MENU SEPARATOR # #LABEL hdt # MENU LABEL HDT : d?tection du mat?riel # KERNEL hdt.c32 # APPEND modules=modules.pci pciids=pci.ids # ## L'outil de test de la m?moire Memtest86+ : #LABEL memtest # MENU LABEL Memtest86+ : test de la m?moire vive # LINUX mtest86.bin # Menu pour red?marrer : MENU SEPARATOR LABEL reboot MENU LABEL Red?marrer la machine KERNEL reboot.c32 ---
On 24/05/2013 16:29, appzer0 wrote:> Hello, > > I am a happy user of syslinux since 3.x. I've been able to load a font to display French accented charecters since then, but it not the case anymore, as problems have started to raise with syslinux 5.x. > program : EXTLINUX, ISOLINUX (same behaviour) > > In extlinux.conf, the culprit is :>> FONT=lat9w16>> This font is taken from 'kbd' package, named lat9w-16.psfu. It contains a UTF-8 table, usually ignored by extlinux, but maybe it is not the case anymore? As usual, extlinux.conf is written using an ISO-8859-1 encoding, not UTF-8. > All .c32 modules are present in /boot/extlinux/, next to extlinux.conf itself. 'extlinux --install' reports no errors. > > Result: It displays large vertical white bars and _every_ character is borked (but each boot, the same characters are wrongly interpreted the same, no random display here, even on the unaccented ones). The Fix is easy : comment the FONT= line in, then extlinux is OK, but obviously there are no more accents. :-/ > > I need the French accented characters, namely ?????????. At worst, I could drop the accented letters but I'd be very sad to. > > Tested on syslinux 5.01 and 5.10-pre2. This is the first time ever that I run into this problem with syslinux. Please find the extlinux.conf I use below. >Hello/Salut, I had somehow the same problem but with ISOLOINX/text files like message.txt (in Slackware's installer). I believe that the UTF-8 table possibly included in a font is still ignored. I ended up using terminus fonts, but without UTF-8 mapping. E.g. (excerpt from isolinux.conf) default huge.s prompt 1 timeout 1200 display message.txt FONT ter_i16v.psf F1 message.txt F2 f2.txt F3 f3.txt F4 f4.txt ter-i maps cp437, but I think you can use others as well (I use that in Slackware's internationalized installer, see http://slint.fr) for instance ter-i* maps ISO-8859-15 so you can even display the euro sign (m?me si cela ne te servira peut-?tre ? rien :-) As you know terminus font is included in slackware-current. Now, I must admit that I use syslinux 4, so maybe what I wrote above is not relevant. Sorry for the noise, then. Good luck/Bon courage, Didier
> I need the French accented characters, namely ?????????. At worst, I > could drop the accented letters but I'd be very sad to.AFAIK, all those characters are already included in the default character map (at least for Western systems), so I tend to think you don't need the FONT directive just for these specific characters. You might still want to change the keyboard layout, but you don't need the FONT directive for this. If you still want to use FONT with Syslinux 5.xx, I would suggest testing your cfg file without [vesa]menu.c32. If the specific font is displayed correctly under CLI, then that behavior might indicate that perhaps the conflict is related to [vesa]menu.c32. Whichever the result of such test, feedback would be helpful. Regards, Ady.
...> As usual, extlinux.conf is written using an ISO-8859-1 > encoding, not UTF-8. >...> > I need the French accented characters, namely ?????????. At worst, I > could drop the accented letters but I'd be very sad to. >FWIW, I just tested Syslinux 5.10-pre2 with menu.c32 and I am able to correctly display any and all those French characters without the need for the FONT directive. I opened my cfg file with cp865. Then I added a LABEL and MENU LABEL directives. For LABEL, I used basic simple English characters, and for MENU LABEL I used all those French characters. Then I saved the cfg file with cp865. The Syslinux menu was displayed as expected (ie. those French characters were displayed correctly). I have tested menu.c32 only, not vesamenu.c32. I guess that for Syslinux to fully support UTF-8 _in the future_, the adequate procedure and documentation would need more details (for example, which codepage will be accepted / suggested / recommended / supported for future cfg files). Of course, this quick test doesn't respond to the report about the FONT directive. Regards, Ady.
On Fri, May 24, 2013 at 10:29 AM, appzer0 <appzer0 at free.fr> wrote:> Hello, > > I am a happy user of syslinux since 3.x. I've been able to load a font to > display French accented charecters since then, but it not the case anymore, > as problems have started to raise with syslinux 5.x.Confirmed. Attached is a tarball of the config I included to see the characters from a SAY statement but also swap FONT. Under PXELINUX 4.06 precompiled it works while PXELINUX 5.10-pre2 does not. VMware hosted VMHWv7 platform. -- -Gene -------------- next part -------------- A non-text attachment was scrubbed... Name: pxelinux-font-test.tgz Type: application/x-gzip Size: 55537 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20130528/fcc9599e/attachment.tgz>
On Tue, 28 May, at 02:01:16PM, Gene Cumm wrote:> On Fri, May 24, 2013 at 10:29 AM, appzer0 <appzer0 at free.fr> wrote: > > Hello, > > > > I am a happy user of syslinux since 3.x. I've been able to load a font to > > display French accented charecters since then, but it not the case anymore, > > as problems have started to raise with syslinux 5.x. > > Confirmed. Attached is a tarball of the config I included to see the > characters from a SAY statement but also swap FONT. Under PXELINUX > 4.06 precompiled it works while PXELINUX 5.10-pre2 does not. VMware > hosted VMHWv7 platform.Thanks for confirming Gene. Could you also include the .psf file in your taraball? I see the same output from 4.06 and 5.10-pre2. Both look valid so more digging is required. -- Matt Fleming, Intel Open Source Technology Center
On Fri, 24 May, at 04:29:36PM, appzer0 wrote:> Hello, > > I am a happy user of syslinux since 3.x. I've been able to load a > font to display French accented charecters since then, but it not > the case anymore, as problems have started to raise with syslinux > 5.x.Thanks for the report. This is now fixed in git and will be part of the next release. -- Matt Fleming, Intel Open Source Technology Center
On Wed, May 29, 2013 at 9:08 AM, Matt Fleming <matt at console-pimps.org> wrote:> On Fri, 24 May, at 04:29:36PM, appzer0 wrote: >> Hello, >> >> I am a happy user of syslinux since 3.x. I've been able to load a >> font to display French accented charecters since then, but it not >> the case anymore, as problems have started to raise with syslinux >> 5.x. > > Thanks for the report. This is now fixed in git and will be part of the > next release. > > -- > Matt Fleming, Intel Open Source Technology CenterConfirmed working for my test. -- -Gene