bugGnash - The GNU Flash player - Bugs: bug #37802, Chinese characters appears as boxes

 
 

bug #37802: Chinese characters appears as boxes

Submitted by:  Walter Cheuk <wwycheuk>
Submitted on:  Sat 24 Nov 2012 08:37:21 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 03 Nov 2013 04:54:43 PM UTC, comment #8:

At least with the example provided by Nachanon, everything seems to work fine with git from today; Gnash 0.8.11dev (master-21901-77966b2).

Image attached. It works with both gtk-gnash and sdl-gnash.

(file #29531)

Pablo Rodríguez <ousia>
Thu 27 Dec 2012 02:16:36 PM UTC, comment #7:

I've created a flash file that exposed this problem,
by using a dynamic textbox with Chinese and English text,
and set it to use "WenQuanYi Zen Hei" font (Chinese, sans-serif),
with and without font embedding.
(One with font embedding was for reference only)

http://www.freeimagehosting.net/newuploads/5n43z.png
These are image results from Macromedia Flash Player 7.
You'd see that if WenQuanYi font was not exist on the system
English text will be substituted by Times New Roman (English, serif) and
Chinese text with SimSun (Chinese, serif) font.

http://www.freeimagehosting.net/newuploads/v4oua.png
These are image results from Gnash 0.8.10.
You'd see that if WenQuanYi font was not exist on the system
Chinese text will be displayed as boxes, even if it could be subsituted with the installed AR PL UMing CN or SimSun (Chinese, serif) font.
But it seems odd that English one was able to be substituted with the installed Tahoma (English, sans-serif) font.

http://www.mediafire.com/?qd252dpdbukhrvt
My test flash file (Flash 7) created with Macromedia Flash MX 2004,
along with screenshots and font download link. Also attached here (file #27153).

Also note that Gnash seems not supporting the "line spacing" option of textbox.

System: Debian GNU/Linux 5.0 "Lenny" i386
Gnash: gnash 0.8.10-1~lenny from getgnash.org APT repository

Nachanon Vetjasit <nachanon>
Mon 17 Dec 2012 04:08:06 PM UTC, comment #6:

My bad, my tested font didn't actually have Chinese glyphs.
Even so, Flash 7 (Win32) still displayed the text correctly.

It seems that the primary reason the browsers (GNU/Linux) and Flash 7 (Win32) are able to display Chinese even specified font didn't have the glyph, but Gnash isn't; because Gnash lacked glyph (font) substitution.

Nachanon Vetjasit <nachanon>
Tue 11 Dec 2012 07:18:55 AM UTC, comment #5:

And also note that Gnash seems not supporting text selection on SWF input text.

Nachanon Vetjasit <nachanon>
Tue 11 Dec 2012 06:59:22 AM UTC, comment #4:

OK, It seems that Gnash didn't display Chinese properly if the SWF require a use of local font.
(Displaying using embedded glyph or embedded font worked fine.)

But (to my surprise), it failed handling Chinese, but correctly handled Thai text (my tested font supports both Thai and Chinese). I'll try to find out if it have anything to do with my locale settings or not.

I'll post a test case here as soon as I can.

Nachanon Vetjasit <nachanon>
Sat 08 Dec 2012 01:01:12 AM UTC, comment #3:

My computer:
gnash 0.8.11
Firefox 17.0.1
Lubuntu 12.04

Walter Cheuk <wwycheuk>
Sat 08 Dec 2012 12:57:35 AM UTC, comment #2:

Please see http://metrohk.com.hk instead and note the texts to the right of the flash object in the centre

Walter Cheuk <wwycheuk>
Wed 28 Nov 2012 11:34:21 AM UTC, comment #1:

Do you still have a link to a video that have the problem?
If so, post it here.

And (just in case) which version of gnash, browser and OS you're using?

Nachanon Vetjasit <nachanon>
Sat 24 Nov 2012 08:37:21 AM UTC, original submission:

Chinese characters appears over flash video are displayed as boxes

Walter Cheuk <wwycheuk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #29531:  zh-text.png added by ousia (15kB - image/png - Image with sdl-gnash from git (master-21901-77966b2))
file #27153:  zh-text.zip added by nachanon (155kB - application/zip - Test flash file (Flash7) and font)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ousia (Updated the item)
  • -unavailable- added by nachanon (Posted a comment)
  • -unavailable- added by wwycheuk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Nov 2013 04:54:43 PM UTCousiaAttached File-=>Added zh-text.png, #29531
    Thu 27 Dec 2012 02:14:46 PM UTCnachanonAttached File-=>Added zh-text.zip, #27153

    Back to the top


    Powered by Savane 3.1-cleanup