bugGnash - The GNU Flash player - Bugs: bug #37994, Gnash cannot display italic/bold...


bug #37994: Gnash cannot display italic/bold font style if installed font didn't have them

Submitter:  Nutchanon Wetchasit <nachanon>
Submitted:  Sat 29 Dec 2012 03:07:20 AM UTC
Category:  None Severity:  3 - Normal
Release:  0.8.10 Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Mon 29 Jul 2013 09:35:46 AM UTC, comment #4: 

I think you may see some errors about missing glyphs if you specify -vp. This is an outstanding bug report, by the way.

Bastiaan Jacques <bjacques>
Group Member
Fri 18 Jan 2013 01:14:54 PM UTC, comment #3: 

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

First off, I didn't run Gnash on Windows even if it look so, due to my GNOME2 theme settings. Sorry for the confusion.
This is the full-desktop screenshot: http://i45.tinypic.com/34zj4nq.png

And just in case, below is the output from "gnash -v italic-text.swf" on my Debian system with "Gnash FontFace Tester Mono" installed.
(console output of above screenshot):

3474:1] 264 SECURITY: Checking security of URL 'file:///home/window/Desktop/fptest/italic-text.swf'
3474:1] 264 SECURITY: Load of file /home/window/Desktop/fptest/italic-text.swf granted (under local sandbox /home/window/Desktop/fptest/)
3474:1] 321 SECURITY: Extensions disabled
3474:2] 333 UNIMPLEMENTED: LanguageCode (1) in DefineFont tag

Nutchanon Wetchasit <nachanon>
Mon 14 Jan 2013 09:32:48 AM UTC, comment #2: 

Note: you should see error logs written on stdout if you start gnash with the -v switch, when fonts can't be found on the system, do you ?

Sandro Santilli <strk>
Group Member
Mon 14 Jan 2013 09:31:09 AM UTC, comment #1: 

I see the exact same rendering with the proprietary player version 10 and gnash Gnash 0.8.11dev (master-21601-9365eed)

From your screenshot you appear to be on windows, so maybe the problem with with fontconfig which isn't available for window, so Gnash doesn't know where to find usable freetype fonts given a family name

Sandro Santilli <strk>
Group Member
Sat 29 Dec 2012 03:07:20 AM UTC, original submission:  

I've heard a discussion about this on mailing list:

It seems that Microsoft Windows do generate the italic/bold/bold-italic font style automagically from plain face.
For example: http://www.freeimagehosting.net/newuploads/hmcpe.png
Microsoft Sans Serif (for both bold and italic) and Tahoma
(for italic) relied on this capability.

I've created flash file that's likely to expose the problem,
by creating text fields that tries to use plain/bold/italic/bold+italic face from a modified font that have only 'plain' (no bold/italic/bold+italic) face.

I used BitStream Vera Sans Mono 1.10 with font name modified to "Gnash FontFace Tester Mono" for preventing conflict and substitution. Only plain face was installed.

This is a correct result from Macromedia Flash Player 7.
(You will notice that bold, italic, bold-italic face were automatically generated)

This is an image result from Gnash.
(You will see that all text were displayed as plain face)

This is my test flash file (created from Macromedia Flash MX 2004),
along with test font and reference screenshots. Also attached here.

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

Nutchanon Wetchasit <nachanon>


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

Attach Files:

Attached Files
file #27161:  italic-text.zip added by nachanon (107KiB - application/zip - Test flash file (Flash 7) with a test font)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bjacques (Posted a comment)
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by nachanon (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-07-29 bjacques StatusNone Confirmed
    2012-12-29 nachanon Attached File- Added italic-text.zip, #27161

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code