freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Infinite loop under tt_cmap4_char_next


From: David Turner
Subject: Re: [Devel] Infinite loop under tt_cmap4_char_next
Date: Mon, 19 May 2003 13:09:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

Hello,

ismail (cartman) donmez wrote:
Hi,

After David Turner's checkin

<snip>
2003-05-07  David Turner  <address@hidden>
        * src/sfnt/ttcmap0.c (tt_cmap4_char_next): Use binary search.
</snip>

fontconfig seems to hang at tt_cmap4_char_next when caching new truetype fonts. So I wonder if there is some way to go in an infinite loop in tt_cmap4_char_next function or is it a fontconfig problem ?

No, it's a FreeType bug. Seems I committed the wrong version of the file.
You should replace

  hi = 0

by

  hi = max+1

in line 912 of src/sfnt/ttcmap0.c to get the correct behaviour. Sorry
for the inconvenience.

And again, could someone commit this ?

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)


--
This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender.
Any use not in accordance with its purpose, any dissemination or disclosure,
either whole or partial, is prohibited except formal approval.
The E-Mail transmission can not guarantee the integrity of this message.
CANAL+TECHNOLOGIES will not therefore be liable for the message if modified.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]