History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FVG-228
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mark Donszelmann
Reporter: Mark Donszelmann
Votes: 0
Watchers: 1
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
FreeHEP Vector Graphics

BitMaps, PNG, SWF, SVG: TestAll: Stars missing.

Created: 20/Oct/06 11:15 AM   Updated: 12/Jan/07 04:41 PM
Component/s: SVG, SWF, ImageGraphics
Affects Version/s: 2.0
Fix Version/s: 2.1

Environment: MacOS X, JDK 1.5


 All   Comments   Change History      Sort Order:
Steffen Greiffenberg - 09/Jan/07 04:02 AM
I don't hve a star in my windows font table at \u2729. I've testet with:

vg.drawString(
            "\u25C4Impact\u25BA",
            mx + width / 4, my + height / 4,
            VectorGraphicsConstants.TEXT_CENTER,
            VectorGraphicsConstants.TEXT_BASELINE);

which produces something like < Impact > and makes bitmap drivers (and TEXT_AS_SHAPES) work. Is Impact a PS Font?

Mark Donszelmann - 09/Jan/07 10:05 AM
I guess Impact is a special font (maybe comes with Adobe Illustrator or so).
We could remove the reliance (for the test) on this font.

What do you say?

Steffen Greiffenberg - 10/Jan/07 08:55 AM
looking at http://www.kayskreations.net/fonts/fonttb.html I found:
Impact is a standard font for:
 Windows 2000, XP, 98, ME

not for:
Windows NT, 95

looking at http://docs.info.apple.com/article.html?artnum=301332
Impact is a standard font on Mac OS X 10.4

The unicode 2729 is not available in the windows impact.ttf. For the other plattforms I could not say it ... I would suggest to remove the reliance on impact or change the displayed character, because impact is quiet nice :) It's up to you ...

Could you check 25C4 and 25BA as suggested above for other plattforms?

Mark Donszelmann - 12/Jan/07 04:41 PM
Changed stars into < and > characters.