String artifact in Athens canvas
Hello, I am experiencing string artifact in athens canvas. It was not there with pure morphic canvas and the same font. See screen shot Thanks Hilaire -- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
It looks like this is related to the font information. could you show the same situation with different fonts? On 15/6/14 21:35, Hilaire Fernandes wrote:
Hello,
I am experiencing string artifact in athens canvas. It was not there with pure morphic canvas and the same font. See screen shot
Thanks
Hilaire
I got this problem in built image for production using a specific font. In my devel, environment with other I don't have this problem. Now in previous release of DrGeo I was using this same specific font and the problem was not there. I just ask to see if other have simimilar problems. I need to check further, but I am just exhausted for now. Hilaire Le 16/06/2014 10:36, stepharo a écrit :
It looks like this is related to the font information. could you show the same situation with different fonts?
On 15/6/14 21:35, Hilaire Fernandes wrote:
Hello,
I am experiencing string artifact in athens canvas. It was not there with pure morphic canvas and the same font. See screen shot
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
On 16 June 2014 21:54, Hilaire Fernandes <hilaire.fernandes@gmail.com> wrote:
I got this problem in built image for production using a specific font. In my devel, environment with other I don't have this problem. Now in previous release of DrGeo I was using this same specific font and the problem was not there. I just ask to see if other have simimilar problems. I need to check further, but I am just exhausted for now.
do you use same font within morphic UI? remember there was a bug related to it.
Hilaire
Le 16/06/2014 10:36, stepharo a écrit :
It looks like this is related to the font information. could you show the same situation with different fonts?
On 15/6/14 21:35, Hilaire Fernandes wrote:
Hello,
I am experiencing string artifact in athens canvas. It was not there with pure morphic canvas and the same font. See screen shot
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
-- Best regards, Igor Stasenko.
Yes, which bug Le 17/06/2014 02:21, Igor Stasenko a écrit :
do you use same font within morphic UI? remember there was a bug related to it.
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
Which bug is it ? Le 17/06/2014 14:30, Hilaire Fernandes a écrit :
Yes, which bug
Le 17/06/2014 02:21, Igor Stasenko a écrit :
do you use same font within morphic UI? remember there was a bug related to it.
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
Ok found some info on this bugs, thanks. Sadly the workaround will be difficult for DrGeo, because I need dedicated unicode fonts for both the DrGeo widgets (menu, toolbar, tabs, dialog) and for the canvas to show messages in locale languages. Thanks Hilaire Le 17/06/2014 16:43, Hilaire Fernandes a écrit :
Which bug is it ?
Le 17/06/2014 14:30, Hilaire Fernandes a écrit :
Yes, which bug
Le 17/06/2014 02:21, Igor Stasenko a écrit :
do you use same font within morphic UI? remember there was a bug related to it.
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
But this other workaround worked for me (at lease until now): drawOnAthensCanvas: aCanvas "Work around for the conflicting size font problem" aCanvas pathTransform restoreAfter: [ aCanvas pathTransform scaleBy: 1.00001. "draw text here" super drawOnAthensCanvas: aCanvas]. Thanks Hilaire Le 17/06/2014 17:34, Hilaire Fernandes a écrit :
Ok found some info on this bugs, thanks.
Sadly the workaround will be difficult for DrGeo, because I need dedicated unicode fonts for both the DrGeo widgets (menu, toolbar, tabs, dialog) and for the canvas to show messages in locale languages.
Thanks
Hilaire
Le 17/06/2014 16:43, Hilaire Fernandes a écrit :
Which bug is it ?
Le 17/06/2014 14:30, Hilaire Fernandes a écrit :
Yes, which bug
Le 17/06/2014 02:21, Igor Stasenko a écrit :
do you use same font within morphic UI? remember there was a bug related to it.
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
In this built image, I tried with different font, same problem. Then I try those font on my dev environment and the problem does not show up. The rendering is really strange, see screenshot: letter seems to have different size, string morph extent is strange. I tested the built image with my dev. VM, same problem. Looks like related to my build process, did I removed too much package ? I remove thoses ones: "Package not removed from ImageCleaner we want to remove" (MCPackage named: 'HelpSystem-Core') unload. (MCPackage named: 'ProfStef-Core') unload. (MCPackage named: 'ReleaseTests') unload. (MCPackage named: 'Versionner-Tests-Core-Commands') unload. (MCPackage named: 'Versionner-Tests-Core-DependenciesModel') unload. (MCPackage named: 'Versionner-Tests-Core-Model') unload. (MCPackage named: 'Versionner-Tests-Resources') unload. (MCPackage named: 'Polymorph-Tools-Diff') unload. "Metacello" (MCPackage named: 'Metacello') unload. (MCPackage named: 'Metacello-FileTree') unload. (MCPackage named: 'Metacello-GitHub') unload. (MCPackage named: 'Metacello-PharoCommonPlatform') unload. (MCPackage named: 'Metacello-Platform.pharo30') unload. (MCPackage named: 'Metacello-Reference') unload. "SUnit" (MCPackage named: 'SUnit-UITesting') unload. (MCPackage named: 'SUnit-Utilities') unload. (MCPackage named: 'SUnit-UI') unload. (MCPackage named: 'SUnit-Core') unload. "KeyChain" (MCPackage named: 'KeyChain') unload. "Network" (MCPackage named: 'Network-Mail') unload. (MCPackage named: 'Network-RFC822') unload. (MCPackage named: 'Network-UUID') unload. (MCPackage named: 'Network-Url') unload. (MCPackage named: 'Zodiac-Extra') unload. (MCPackage named: 'Zodiac-Core') unload. (MCPackage named: 'Zinc-Zodiac') unload. (MCPackage named: 'Zinc-FileSystem') unload. (MCPackage named: 'Zinc-HTTP') unload. (MCPackage named: 'Zinc-Ressource-Meta-FileSystem') unload. (MCPackage named: 'Zinc-System-Support') unload. "Settings" (MCPackage named: 'Settings-Compiler') unload. (MCPackage named: 'Settings-Display') unload. (MCPackage named: 'Settings-FreeType') unload. (MCPackage named: 'Settings-Graphics') unload. (MCPackage named: 'Settings-Kernel') unload. (MCPackage named: 'Settings-Monticello') unload. (MCPackage named: 'Settings-Network') unload. (MCPackage named: 'Settings-Polymorph') unload. (MCPackage named: 'Settings-System') unload. (MCPackage named: 'Settings-Tools') unload. (MCPackage named: 'Komiter') unload. I will try to keep the freetype settings, but it does not make sense. Hilaire Le 16/06/2014 10:36, stepharo a écrit :
It looks like this is related to the font information. could you show the same situation with different fonts?
On 15/6/14 21:35, Hilaire Fernandes wrote:
Hello,
I am experiencing string artifact in athens canvas. It was not there with pure morphic canvas and the same font. See screen shot
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
weird... looks like translation accumulates for each letter you drawing instead of resetting it On 15 June 2014 21:35, Hilaire Fernandes <hilaire.fernandes@gmail.com> wrote:
Hello,
I am experiencing string artifact in athens canvas. It was not there with pure morphic canvas and the same font. See screen shot
Thanks
Hilaire
-- Dr. Geo http://drgeo.eu iStoa - https://launchpad.net/istoa
-- Best regards, Igor Stasenko.
participants (3)
-
Hilaire Fernandes -
Igor Stasenko -
stepharo