Search found 11 matches

by CatBus
2017-11-27T10:39:58-07:00
Forum: Bugs
Topic: Windows-specific Pango font identification bug
Replies: 2
Views: 5755

Re: Windows-specific Pango font identification bug

Pango doesn't seem to use the same font libraries as the rest of ImageMagick (at least on Windows). I'm not familiar with the type.xml file though--what does it do? For ImageMagick, the font is listed under a different name. Font: Noto-Sans-CJK-TC-Medium family: Noto Sans CJK TC style: Normal stretc...
by CatBus
2017-11-26T22:32:28-07:00
Forum: Bugs
Topic: Windows-specific Pango font identification bug
Replies: 2
Views: 5755

Windows-specific Pango font identification bug

Any of the fonts from here seem affected: https://www.google.com/get/noto/help/cjk/ But, for specific testing, you can use NotoSansCJKtc-Medium.otf from this archive: https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKtc-hinted.zip Create a UTF-8 file called test.txt containing the follow...
by CatBus
2016-05-04T16:55:36-07:00
Forum: Bugs
Topic: Combining diacritics sometimes cut off using Pango
Replies: 2
Views: 2238

Re: Combining diacritics sometimes cut off using Pango

No, it's the same inline and from a text file, and yes, its UTF-8. You'd need a Hindi font to see the characters. Mangal is a pretty common one you can get with any recent version of MS Office. I chose the Hindi example because it was the most apparent. I could be staring right at the Thai and Arabi...
by CatBus
2016-05-04T16:39:05-07:00
Forum: Bugs
Topic: Combining diacritics sometimes cut off using Pango
Replies: 2
Views: 2238

Combining diacritics sometimes cut off using Pango

It looks like the bounding rectangle for text sometimes isn't quite large enough to accommodate certain combining diacritics. convert -pointsize 100 -font Mangal pango:"बहुत चुकी" example.png You'll see that in the first word, there's a combining diacritic that gets a few pixels shaved off...
by CatBus
2016-04-30T21:12:49-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

Re: ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

Tested and confirmed fixed under every test scenario I've found in ImageMagick 7.0.1. Could have been lots of things, but I'm blaming the Pango version.
by CatBus
2016-04-19T11:12:31-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

Re: ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

I will absolutely test it for this issue and report back.
by CatBus
2016-04-19T10:49:27-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

Re: ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

Windows has Freetype 2.6.2 Linux has Freetype 2.4.11 My Linux package manager says fontconfig 2.11.0-3.2 I'm not sure where I would get more current versions of Pango, Freetype, etc for the pre-packaged binary Windows builds. Would that be new versions of the IM_MOD_RL_pango_.dll, IM_MOD_RL_ttf_.dll...
by CatBus
2016-04-19T10:11:17-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

Re: ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

I really don't know how to answer that. I'd imagine the Windows builds are very different in many ways than ImageMagick on Linux--certainly the Pangocairo versions are different. Windows (bug) has Pangocairo 1.36.0 Linux (no bug) has Pangocairo 1.36.8 Anything else, you'd have to tell me how to grab...
by CatBus
2016-04-19T09:27:52-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

Re: ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

I've found the same problem in the following languages and fonts: Hindi: Mangal Arabic, Persian/Farsi & Navajo: Arial Thai: Tahoma So we know that the same script with the same fonts, running on different platforms, gets you different results. We also now know that the same script on the same pl...
by CatBus
2016-04-18T20:49:54-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

Re: ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

Sure, I think this should be sufficient: 1) Make a text file test.txt and its contents should be Unicode text that I hope works here: <span font_desc="Arial">TEST ách’ą́ą́h</span> 2) Run the command: convert pango:@test.txt test.png On Windows, Notepad sticks a little byte-order mark chara...
by CatBus
2016-04-18T15:44:24-07:00
Forum: Bugs
Topic: [RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)
Replies: 13
Views: 7309

[RESOLVED] ImageMagick+Pango positions diacritical marks incorrectly (Windows-only)

I've noticed that when generating text via Pango, Windows builds of ImageMagick position combining diacritical marks incorrectly. It's pretty consistently wrong across scripts, affecting Arabic, Thai, etc. I've included a Navajo example below for an example with Latin characters. Since the ImageMagi...