Description of problem:
Most glyphs have a point with the same coordinates as the first point. This extraneous point is useless and creates self intersecting points, which should be avoided.
Version-Release number of selected component (if applicable):
Thanks for reporting bug.
Can you submit patch as well against trunk?
Created attachment 497905 [details]
patch to remove self intersecting paths
I corrected self intersecting glyphs using FontForge's "remove overlap" function. I had to "simplify" u0938_u094D.half before removing overlapping.
i gone through your patch, its very useful -> https://bugzilla.redhat.com/attachment.cgi?id=497905&action=diff
It is removing double points like as below
1068 306 -220 l 1,14,-1
1069 306 -220 l 1,0,1
i tried to apply patch on lohit-devanagari but its look like patch: **** malformed patch at line 341: @@ -1304,7 +1282,6 @@
can you please attach Devanagari sfd file, so i can try it.
i can see some more things in patch other than just removing self intersecting.
how did you worked on this?
Created attachment 499639 [details]
Lohit Devanagari's FontForge sfd file corresponding to patch 497905
(In reply to comment #3)
> i tried to apply patch on lohit-devanagari but its look like patch: ****
> malformed patch at line 341: @@ -1304,7 +1282,6 @@
I just used "svn diff". Should I have done it another way?
> can you please attach Devanagari sfd file, so i can try it.
(In reply to comment #4)
> i can see some more things in patch other than just removing self intersecting.
> how did you worked on this?
As I said, I had to simplify u0938_u094D.half. Also FontForge keeps some extra info like window size, currently open glyph, etc. I may have done some minor corrections as well, like removing overlap in glyph actually made of two paths (ie. not just only with first and last points overlapping). I don't remember exactly.
steps for creating patch :
1) keep copy of "original source" and "modified source"
2) $diff -rup "original source" "modified source" > "patch-name"
3) vi "patch-name"
I will test sfd by tomorrow. yesterday while checking changes i found it good.
(In reply to comment #5)
> Created attachment 499639 [details]
> Lohit Devanagari's FontForge sfd file corresponding to patch 497905
Tested the new sfd, it looks nice to me
Now Element->Validation->Find Problems->Paths-> Intersecting Paths not reporting any problems
Rendering also happening properly
I will build in Fedora 16 and Fedora 15 with patch and will push this patch after one week (lets other also test in fedora before making upstream)
Thanks Bernard for you contribution !!
lohit-devanagari-fonts-2.4.5-2.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lohit-devanagari-fonts-2.4.5-2.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
applied patch to upstream !!
added your name in the Author list in upstream. see https://fedorahosted.org/lohit/browser/trunk/AUTHORS
congrats you are now the contributor to Lohit :)
lohit-devanagari-fonts-2.4.5-3.fc15 has been submitted as an update for Fedora 15.
lohit-devanagari-fonts-2.4.5-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.