filled path doesn't get filled

Bug #997903 reported by raoul duke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jeash
New
Low
Unassigned

Bug Description

most of the closed paths i'm using to draw letters are not getting filled in jeash, via nme. whereas if i target flash via nme, they do get filled. and they get filled if i target neko or hxcpp, so it seems to be a jeash-specific thing.

see attached picture that shows (not to scale) an example of jeash voids, and of flash filling properly.

Revision history for this message
raoul duke (raould) wrote :
Revision history for this message
Niel Drummond (niel-drummond) wrote :

Hmm.. looks like a bug. leaving it open until I can reproduce it.

Revision history for this message
raoul duke (raould) wrote :

the attached zip will repro it (at least for me). the zip is overkill, sorry for extra code in there. hopefully it gets the point across.

do "make js" to see it vs. "make cpp" or "make flash" (and then you have to run the swf somehow for flash of course).

Revision history for this message
raoul duke (raould) wrote :

better zip to use to repro.

Revision history for this message
Niel Drummond (niel-drummond) wrote :

I couldn't see anything when I compiled the flash version.. so I'm not sure what I'm supposed to check.

Your example is more than 2000 lines of code - any chance of getting something smaller ?

Revision history for this message
raoul duke (raould) wrote :

hi, i did experiment with a smaller test case, but it failed to reproduce the issue.

but with the fuller test case, it does reproduce.

and it only reproduces with JS, it doesn't reproduce with Neko or Flash or CPP.

so sure it could be that my code is doing something weird in the "large" case, but since the "large" case works for the other targets it is my guess that jeash is getting into some odd state that breaks the filling.

attached is a new zip file that just has a flash.html page you can load, and an added neko target. i am running:
Mac OS X 10.7.3
haxe 2.09
nme 3.3.2
jeash 0.8.7

if you are on a unixy system, unzip the attached zip, cd into JeashBug, then "make neko" to see filled letters, then quit, then "make js" to see not-entirely-filled letters. (there is another issue in that jeash seems to draw thick lines, but the other targets do not.)

Revision history for this message
raoul duke (raould) wrote :

neko screenshot

Revision history for this message
raoul duke (raould) wrote :

js screenshot

Changed in jeash:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.