bugGnash - The GNU Flash player - Bugs: bug #17886, win32 gnash build doesn't support...

 
 

bug #17886: win32 gnash build doesn't support finding device fonts

Submitted by:  None
Submitted on:  Sat 30 Sep 2006 09:38:14 AM UTC  
 
Category: coreSeverity: 3 - Normal
Release: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich 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)

Fri 10 Dec 2010 06:39:24 AM UTC, comment #8:

There's no official win32 build, no idea whether this works in my builds or not.

Benjamin Wolsey <bwy>
Project Member
Sat 29 Nov 2008 04:38:25 AM UTC, comment #7:

The ideal solution would be to compile and use Windows version of FontConfig. However, even in this case the appropriate XML configuration file would be needed to take the full advantage of it. This means that any font request would be satisifed by the best font available on any particular Windows OS / installation / 'device' in question. For example, the request for a bold non-italic font wouldn't result in thin italic substitute. Note that this is not spoecific for Gnash and is the issue faced by any software ported to Windows that wants to use fonts already installed on the 'device'.

Quick and easy fix would be to use Win32 API to look for a few commonly used default fonts on Windows systems, like Arial, Verdana and Tahoma. On must recent OS versions they are located in Windows\Fonts folder. This way font filename and path wouldn't be hard-coded and the attached swf would display correctly, albeit using some other font.

Tonko Juricic <tonko>
Tue 06 Nov 2007 11:48:30 AM UTC, comment #6:

I've added code to macros/freetype.m4 to find a suitable default system font, so the remaining problem would be w32.

I don't have Windows, so I'm not going to try fixing it.

Benjamin Wolsey <bwy>
Project Member
Mon 05 Nov 2007 11:34:38 PM UTC, comment #5:

for fontconfig-less sytems there's a win32 implementation using registers in GameSWF code:
https://tu-testbed.svn.sourceforge.net/svnroot/tu-testbed/trunk/tu-testbed/gameswf/gameswf_freetype.cpp

For 1, yes, we'd want ./configure to find out some suitable font, or even let fontconfig (or whatever substitute for other systems) give us a default font [ would be also more consistent with the system ]

Sandro Santilli <strk>
Project Member
Mon 05 Nov 2007 05:11:51 PM UTC, comment #4:

What's still missing? It looks to me like the only problems are:

a) the default font is a hard-coded file, when it should perhaps be found and set at configure time

b) and, according to bug #20597, that systems without fontconfig don't have a way of finding a suitable font at all and have to use the default, hard-coded font.

Benjamin Wolsey <bwy>
Project Member
Wed 13 Jun 2007 02:45:41 AM UTC, comment #3:

Current HEAD version of Gnash seems able to render the attached
movie. Just needs some tweaking (finding font filename from font name - the head code is cheating by using an hard-coded path)

Sandro Santilli <strk>
Project Member
Thu 19 Oct 2006 10:27:21 AM UTC, comment #2:

testing dependency settings

Sandro Santilli <strk>
Project Member
Wed 04 Oct 2006 02:03:57 PM UTC, comment #1:

The problem is that current version of gnash doesn't support any device font. It is a known problem.

Sandro Santilli <strk>
Project Member
Sat 30 Sep 2006 09:38:14 AM UTC, original submission:

The following SWF seems to request Arial fonts, which Gnash doesn't know about (and TTBOMK there isn't any free implementation for them).

$ gnash -v arial_font_problem.swf
[...]
11:33:25: WARNING: edit_text_character.cpp:691
-- missing glyph for char 65
-- make sure character shapes for font Arial are being exported into your SWF file!
[same error repeated a few times]

Could Gnash just ignore the requisite and use the "Tuffy" fonts instead?

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #10869:  arial_font_problem.swf added by None (38KiB - application/x-shockwave-flash - exhibits problem with Arial fonts)

 

Depends on the following items

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tonko (Posted a comment)
  • -unavailable- added by dossy (Updated the item)
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by strk (Posted a comment)
  •  

    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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 10 Dec 2010 06:39:24 AM UTCbwyStatusConfirmed=>Wont Fix
      Assigned todossy=>None
      Open/ClosedOpen=>Closed
    Mon 17 Mar 2008 02:33:48 PM UTCdossyAssigned toNone=>dossy
    Wed 09 Jan 2008 11:17:47 AM UTCstrkStatusReady For Test=>Confirmed
      SummaryGnash doesn\'t support device fonts=>win32 gnash build doesn't support finding device fonts
    Wed 13 Jun 2007 02:45:41 AM UTCstrkStatusConfirmed=>Ready For Test
    Thu 19 Oct 2006 10:27:21 AM UTCstrkDependencies-=>Depends on task #5969
    Thu 19 Oct 2006 10:17:33 AM UTCstrkCategoryNone=>core
      StatusNone=>Confirmed
      SummarySWF wants Arial font, but is not available=>Gnash doesn't support device fonts
    Sat 30 Sep 2006 09:38:14 AM UTCNoneAttached File-=>Added arial_font_problem.swf, #10869

    Back to the top


    Powered by Savane 3.1-cleanup1