[Pkg-gmagick-im-team] Bug#680928: Bug#680928: Imagmagick convert UTF8 non breaking space
roucaries bastien
roucaries.bastien+debian at gmail.com
Mon Jul 9 14:29:26 UTC 2012
On Mon, Jul 9, 2012 at 4:24 PM, Matt Cockayne <matt at zucchi.co.uk> wrote:
> Unfortunatly we are not experienced enough with imagemagicks source to be
> able to identify where the fix may have occured.
>
> All we are able to advise can advise is what appears to be in the changelog
> and that in testing versions subsequent to 6.6.0-8 appears to be working
> correctly.
>
> Quote
>
> 2010-03-18 6.6.0-8 Cristy <quetzlzacatenango at image...>
> The animate program no longer loops twice when -loop 1 is specified.
> The caption format would sometimes hang when the text was not UTF-8.
> Don't gamma correct log to linear color conversion unless the -gamma
> is specified (reference http://www.imagemagick.org/discourse-
> server/viewtopic.php?f=1&t=15799).
>
> /Quote
>
> On Mon, Jul 9, 2012 at 3:17 PM, roucaries bastien
> <roucaries.bastien+debian at gmail.com> wrote:
>>
>> On Mon, Jul 9, 2012 at 4:13 PM, Matt Cockayne <matt at zucchi.co.uk> wrote:
>> > The source of the fix is not specified as a specific patch file. And I
>> > am
>> > unable to identify the exact fix implemented
>> >
>> > Looking at the changelog and the dates/versions involved I would
>> > ascertain
>> > that the fix was applied somewhere between commits
>> >
>> > 1497 - 1503
>> >
>> >
>> > http://trac.imagemagick.org/timeline?from=03%2F18%2F10&daysback=0&authors=&milestone=on&ticket=on&changeset=on&wiki=on&update=Update
>> >
>>
>> Unfortunatly no change has action on utf8. only animate and some exotic
>> coders.
>>
>> Bastien
Ok it seems i get it, one single line. Could you try a non working
version with this patch applied ?
--- a/magick/token-private.h
+++ b/magick/token-private.h
@@ -60,7 +60,7 @@ static inline long GetNextUTFCode(const char
*text,size_t *octets)
c,
unicode;
- *octets=0;
+ *octets=1;
if (text == (const char *) NULL)
{
errno=EINVAL;
More information about the Pkg-gmagick-im-team
mailing list