Bugzilla – Bug 6691
Asian UTF-8 displays sliced off at top edge in large size text mode
Last modified: 2008-12-18 11:12:53 UTC
When browsing to the Music Folder, albums with names in Asian UTF-8 are rendered, but have their pixels sliced off at the top edge. For example: 周華健/光陰似健 1987 - 1997 This will have the lines along the top edge sliced off.
could you please provide us with a photo or something?
(In reply to comment #1) > could you please provide us with a photo or something? > I was thinking this very thought this morning. I'll organise something appropriate.
Created attachment 2697 [details] Small text size showing characters without clipping
Created attachment 2698 [details] Large text size showing characters clipped on top edge
Created attachment 2699 [details] Tar ball with UTF-8 characters in directory name as per jpegs
> I was thinking this very thought this morning. I'll organise something > appropriate. I've created a bunch of attachments. The pictures show the effect, and the tar ball contains a dummy file in a directory whose name matches the directory name shown in the images.
Created attachment 2725 [details] displaying with reduced font size Earl - here's a screenshot with the following patch applied. I don't know whether this is "fixed" or just improved. Please feel free to play with the following patch: Index: /Users/mh/Documents/workspace/SC7.0/Slim/Display/Lib/Fonts.pm =================================================================== --- /Users/mh/Documents/workspace/SC7.0/Slim/Display/Lib/Fonts.pm (revision 16744) +++ /Users/mh/Documents/workspace/SC7.0/Slim/Display/Lib/Fonts.pm (working copy) @@ -111,8 +111,8 @@ # Huge - only one line. 'full.2' => { - 'GDFontSize' => 26, - 'GDBaseline' => 25, + 'GDFontSize' => 24, + 'GDBaseline' => 26, }, This seems to be working. But you might want to tune the values a bit to lower the string to increase the size again. What values would you recommend using?
The Baseline could be as low as 31, but it then probably looks a bit misaligned with western text. Please play with it. Thanks!
Earl: is this fixed for you?
(In reply to comment #9) > Earl: is this fixed for you? Sorry, I was busy Friday night. I'll get time to try this out this weekend.
(In reply to comment #9) > Earl: is this fixed for you? Yes, the fix looks good.
Great, thanks for the feedback! Change 16791 - add some pixels in height when rendering TT fonts in full screen mode
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.