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

Submitted by:  Nachanon Vetjasit <nachanon>
Submitted on:  Sat 29 Dec 2012 03:07:20 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: 0.8.10Status: Confirmed
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.

 

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>
Project 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):

Nachanon Vetjasit <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>
Project 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>
Project Member
Sat 29 Dec 2012 03:07:20 AM UTC, original submission:

I've heard a discussion about this on mailing list:
http://lists.gnu.org/archive/html/gnash-dev/2012-11/msg00005.html

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.

http://www.freeimagehosting.net/newuploads/sfj57.png
This is a correct result from Macromedia Flash Player 7.
(You will notice that bold, italic, bold-italic face were automatically generated)

http://www.freeimagehosting.net/newuploads/t7dt8.png
This is an image result from Gnash.
(You will see that all text were displayed as plain face)

http://www.mediafire.com/download.php?v06wxuy5ot1tuov
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

Nachanon Vetjasit <nachanon>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27161:  italic-text.zip added by nachanon (107kB - 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
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by nachanon (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
    Mon 29 Jul 2013 09:35:46 AM UTCbjacquesStatusNone=>Confirmed
    Sat 29 Dec 2012 03:07:20 AM UTCnachanonAttached File-=>Added italic-text.zip, #27161

    Back to the top


    Powered by Savane 3.1-cleanup