Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    Unfortunately it is still displaying pinyin instead of asian characters. The extension is showing as installed and the pi was rebooted for good measure as well.

  2. #12
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    697
    Quote Originally Posted by gadgetwiz View Post
    Unfortunately it is still displaying pinyin instead of asian characters. The extension is showing as installed and the pi was rebooted for good measure as well.
    Can you check the LMS logs to make sure it is finding the perl libraries ok. Perhaps there is something else needed.

  3. #13
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    This is from the log on startup:

    [17-04-11 08:21:33.9669] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar 8 14:07:50 UTC 2017) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int

    Is this working correctly?

    Edit: Not sure if this is helpful but I note from my jessie lite installation that LMS will fail to pick up the new perl freetype font if the original font in the LMS install is still present?
    Last edited by gadgetwiz; 2017-04-10 at 15:49.

  4. #14
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,683

    Picoreplayer Japanese/Chinese charactersdisplay as pinyin?

    > [17-04-11 08:21:33.9669] main::init (388) Starting Logitech Media Server
    > (v7.9.0, 1488878280, Wed Mar 8 14:07:50 UTC 2017) perl 5.024000 -
    > arm-linux-gnueabihf-thread-multi-64int


    Paul - could there be a timing problem? The extension being initialized
    after LMS or something?

    --

    Michael

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,683

    Picoreplayer Japanese/Chinese charactersdisplay as pinyin?

    > This is from the log on startup:

    Please add debug logging for player.fonts (Settings/Advanced/Logging),
    check the "keep settings for restart" (or similar) box at the top of
    that page, restart LMS. Then check the server.log again.

    --

    Michael

  6. #16
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    Got it - here is the log.

    [17-04-11 18:57:08.9182] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar 8 14:07:50 UTC 2017) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [17-04-11 19:01:19.2145] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar 8 14:07:50 UTC 2017) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [17-04-11 19:01:44.5378] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/threeline.3.font.bmp
    [17-04-11 19:01:44.5469] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/threeline.2.font.bmp
    [17-04-11 19:01:44.5551] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/threeline.1.font.bmp
    [17-04-11 19:01:44.5641] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard_n.2.font.bmp
    [17-04-11 19:01:44.5723] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard_n.1.font.bmp
    [17-04-11 19:01:44.5817] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard.2.font.bmp
    [17-04-11 19:01:44.5901] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard.1.font.bmp
    [17-04-11 19:01:44.5982] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/small.2.font.bmp
    [17-04-11 19:01:44.6070] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/small.1.font.bmp
    [17-04-11 19:01:44.6155] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/medium.2.font.bmp
    [17-04-11 19:01:44.6255] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/medium.1.font.bmp
    [17-04-11 19:01:44.6341] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/logoSB2.2.font.bmp
    [17-04-11 19:01:44.6537] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/logo.font.bmp
    [17-04-11 19:01:44.6628] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light_n.2.font.bmp
    [17-04-11 19:01:44.6712] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light_n.1.font.bmp
    [17-04-11 19:01:44.6806] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light.2.font.bmp
    [17-04-11 19:01:44.6889] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light.1.font.bmp
    [17-04-11 19:01:44.6973] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/large.2.font.bmp
    [17-04-11 19:01:44.7064] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/huge.2.font.bmp
    [17-04-11 19:01:44.7145] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/high.2.font.bmp
    [17-04-11 19:01:44.7267] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/full_n.2.font.bmp
    [17-04-11 19:01:44.7349] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/full.2.font.bmp
    [17-04-11 19:01:44.7477] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/blockanimateSBG.1.font.bmp
    [17-04-11 19:01:44.7560] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/blockanimateSB2.1.font.bmp
    [17-04-11 19:01:45.8837] Slim::Display::Lib::Fonts::fontfiles (598) prebuild cache is valid
    [17-04-11 19:01:45.8890] Slim::Display::Lib::Fonts::loadFonts (624) Retrieving font data from font cache: /usr/local/slimserver/Graphics/corefonts.bin

  7. #17
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,683
    By the time you posted this log snippet, did you try to display one of the Japanese/Chinese items? The font would only be loaded once required.
    Michael

    http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR

  8. #18
    Junior Member
    Join Date
    Mar 2011
    Posts
    14
    Ah no. Here is the updated log.

    [17-04-11 19:58:27.0459] main::init (388) Starting Logitech Media Server (v7.9.0, 1488878280, Wed Mar 8 14:07:50 UTC 2017) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [17-04-11 19:58:48.5395] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/threeline.3.font.bmp
    [17-04-11 19:58:48.5473] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/threeline.2.font.bmp
    [17-04-11 19:58:48.5552] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/threeline.1.font.bmp
    [17-04-11 19:58:48.5629] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard_n.2.font.bmp
    [17-04-11 19:58:48.5705] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard_n.1.font.bmp
    [17-04-11 19:58:48.5782] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard.2.font.bmp
    [17-04-11 19:58:48.5860] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/standard.1.font.bmp
    [17-04-11 19:58:48.5944] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/small.2.font.bmp
    [17-04-11 19:58:48.6026] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/small.1.font.bmp
    [17-04-11 19:58:48.6106] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/medium.2.font.bmp
    [17-04-11 19:58:48.6184] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/medium.1.font.bmp
    [17-04-11 19:58:48.6262] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/logoSB2.2.font.bmp
    [17-04-11 19:58:48.6339] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/logo.font.bmp
    [17-04-11 19:58:48.6417] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light_n.2.font.bmp
    [17-04-11 19:58:48.6494] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light_n.1.font.bmp
    [17-04-11 19:58:48.6579] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light.2.font.bmp
    [17-04-11 19:58:48.6657] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/light.1.font.bmp
    [17-04-11 19:58:48.6734] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/large.2.font.bmp
    [17-04-11 19:58:48.6811] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/huge.2.font.bmp
    [17-04-11 19:58:48.6889] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/high.2.font.bmp
    [17-04-11 19:58:48.6966] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/full_n.2.font.bmp
    [17-04-11 19:58:48.7047] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/full.2.font.bmp
    [17-04-11 19:58:48.7150] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/blockanimateSBG.1.font.bmp
    [17-04-11 19:58:48.7228] Slim::Display::Lib::Fonts::fontfiles (579) found: /usr/local/slimserver/Graphics/blockanimateSB2.1.font.bmp
    [17-04-11 19:58:50.3345] Slim::Display::Lib::Fonts::fontfiles (598) prebuild cache is valid
    [17-04-11 19:58:50.3403] Slim::Display::Lib::Fonts::loadFonts (624) Retrieving font data from font cache: /usr/local/slimserver/Graphics/corefonts.bin
    [17-04-11 19:59:53.8746] Slim::Display::Lib::Fonts::__ANON__ (83) Loading Font::FreeType
    [17-04-11 19:59:53.9512] Slim::Display::Lib::Fonts::__ANON__ (85) Warning: Unable to load TrueType font support: Font::FreeType object version 0.07 does not match $Font::FreeType::VERSION 0.03 at /usr/local/lib/perl5/5.24.0/arm-linux-gnueabihf-thread-multi-64int/DynaLoader.pm line 210.
    Compilation failed in require at /usr/local/slimserver/Slim/Display/Lib/Fonts.pm line 84.

  9. #19
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,683

    Picoreplayer Japanese/Chinese charactersdisplay as pinyin?

    > [17-04-11 19:59:53.8746] Slim:isplay::Lib::Fonts::__ANON__ (83)
    > Loading Font::FreeType
    > [17-04-11 19:59:53.9512] Slim:isplay::Lib::Fonts::__ANON__ (85)
    > Warning: Unable to load TrueType font support: Font::FreeType object
    > version 0.07 does not match $Font::FreeType::VERSION 0.03 at
    > /usr/local/lib/perl5/5.24.0/arm-linux-gnueabihf-thread-multi-64int/DynaLoader.pm
    > line 210.
    > Compilation failed in require at
    > /usr/local/slimserver/Slim/Display/Lib/Fonts.pm line 84.


    Ok, this is the crucial part: LMS is loading the pure Perl part of
    Front::FreeType from its own folders, while the binary part is provided
    by Paul's extension. Unfortunately the version numbers of these two
    don't match...

    Paul - you could remove CPAN/Font from LMS' installation folder when LMS
    is being installed. That should work around this issue.

    (And I actually believe those files shouldn't even be part of the noCPAN
    bundle, as it doesn't make sense to only ship part of a module...)

    --

    Michael

  10. #20
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    697
    Remove these files?

    Code:
    usr/local/slimserver/CPAN/Font/FreeType/Glyph.pm
    usr/local/slimserver/CPAN/Font/FreeType/Face.pm
    usr/local/slimserver/CPAN/Font/FreeType.pm
    Should I move all of the files under CPAN over to the slimserver-CPAN.tcz extension. Even though I named the extension slimserver-CPAN, I only put files that were generated by slimserver-vendor build script in this extension.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •