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

Submitter:  None
Submitted:  Sat 30 Sep 2006 09:38:14 AM UTC
   
 
Category:  core Severity:  3 - Normal
Release:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group 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>
Group Member
Thu 19 Oct 2006 10:27:21 AM UTC, comment #2: 

testing dependency settings

Sandro Santilli <strk>
Group 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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by tonko (Posted a comment)
  • -email is unavailable- added by dossy (Updated the item)
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by strk (Posted a comment)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-10 bwy StatusConfirmed Wont Fix
        Assigned todossy None
        Open/ClosedOpen Closed
    2008-03-17 dossy Assigned toNone dossy
    2008-01-09 strk StatusReady For Test Confirmed
        SummaryGnash doesn\'t support device fonts win32 gnash build doesn't support finding device fonts
    2007-06-13 strk StatusConfirmed Ready For Test
    2006-10-19 strk Dependencies- Depends on task #5969
    2006-10-19 strk CategoryNone core
        StatusNone Confirmed
        SummarySWF wants Arial font, but is not available Gnash doesn't support device fonts
    2006-09-30 None Attached File- Added arial_font_problem.swf, #10869

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code