(
Jump to the original submission)
Wed Jul 8 16:11:08 2009, comment #10:
I confirm size is good now (and width isn't)
|
Wed Jul 8 15:56:00 2009, comment #9:
The size should be correct now. Device fonts are scaled in both directions using the y scale value.
The width of the textfield should be scaled according to the x scale, but that's not yet fixed (needs some changes to TextField.cpp).
The x position of some of the text is still slightly wrong in the two examples in comment #1, but I haven't worked out why. The test misc-ming.all/DeviceFontTest doesn't reproduce this problem.
|
Sun Nov 9 14:50:51 2008, comment #8:
One problem is that we scale the font according using the TextField character's matrix. We shouldn't do this, at least for device fonts.
|
Fri Mar 14 12:33:35 2008, comment #7:
In gnash, device fonts create glyphs on demand.
|
Tue Mar 11 13:00:56 2008, comment #6:
What am I doing? It does use those two device fonts; but the Arial font (ID: 8) has 49 glyphs, each with an associated shape. Is that normal for a device font?
|
Tue Mar 11 12:49:56 2008, comment #5:
That should read "doesn't use device fonts".
|
Tue Mar 11 12:35:50 2008, comment #4:
It does use device fonts: Arial and Symbol (this latter presumably just for the theta sign).
From debug log:
17810] 13:32:41: DEBUG: Advance value for glyph '4' is 284.5 (horiAdvance:569, scale:0.5)
17810] 13:33:58: DEBUG: Advance value for glyph '5' is 569.5 (horiAdvance:1139, scale:0.5)
|
Thu Mar 6 21:18:29 2008, comment #3:
Tried the PP_COMPATIBLE_DEVICE_FONT_HANDLING, didn't work.
Looking at the code that macro only influences color, not size.
To be researched:
1. if the movies deal with device rather then embedded fonts.
2. if device fonts are supposed to be scaled.
|
Thu Mar 6 20:41:38 2008, comment #2:
note to self (or to whoever wants to try that):
try uncommenting the PP_COMPATIBLE_DEVICE_FONT_HANDLING
define in server/edit_text_character.cpp
|
Mon Mar 3 12:39:35 2008, comment #1:
Another example of the same bug:
http://www.upscale.utoronto.ca/GeneralInterest/Harrison/Flash/ClassMechanics/VertCircular/VertCircular.swf
|
Mon Mar 3 12:21:54 2008, original submission:
http://www.upscale.utoronto.ca/GeneralInterest/Harrison/Flash/ClassMechanics/Projectile/Projectile.swf
version: SWF6
md5: 92458afd64496f8089b843e81317b0c9
The dynamic text value of y0 and t? is disaplayed in a weird
way (bigger then expected, and with wrong aspect ratio).
Could be one of those cases in which an application relies on
the NON transformation of device fonts (didn't test if it's device font btw)
|
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach File(s):
Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 2 latest changes.