Hello,
i am using FreeType
library on Windows 64 bits OS Opteron, with a 64 bits executable (FreeType Build
in 64 bits).
There is a lot of
problems :
On Windows 64 bits,
a "FT_Long", or a "Long" ,it's 2 Giga.
But when we do a
"pointer difference", i can see that a FT_Long is too
small...
Example :
static void
shift_elements( PS_Table table,FT_Byte* old_base
)
{
FT_Long
delta = (FT_Long)( table->block - old_base
);
--> ptrdiff_t delta = (ptrdiff_t)( table->block - old_base
);
FT_Byte** offset =
table->elements;
FT_Byte** limit = offset +
table->max_elems;
for ( ; offset < limit;
offset++ )
{
if (
offset[0] )
offset[0] +=
delta;
}
}
Bye,
and excuse me for my
poor english..........
-----Message
d'origine-----
De : David Turner
[mailto:address@hidden
Envoyé : lundi 3 avril 2006
17:06
À : PILLET Céline
Cc :
address@hidden
Objet : Re: [ft-devel] multithreading
and 64 bits
Bonjour Céline,
PILLET Céline a écrit :
Hello.
I am using
FreeType Library.
Do you think
FreeType work with multithreading? One FT_Library for
each thread??
exactly, should work like a
charm, each FT_Library is independent from the
other.
Do you think
FreeType work with 64 bits sytem
configuration?
Yes, let us know if you
encounter problems, they should not happen
Hope this helps,
-
David Turner
- The FreeType Project (www.freetype.org)
Ingénieur R&D
Département PrinterWorkflow
TagG-Informatique
ZI
Praz Bon
73410 ALBENS FRANCE
Tél. : +33 (0) 4 79 34 31
00
Fax. : +33 (0) 4 79 34 31 02
This e-mail and any attachments thereto may
contain information which is confidential and/or protected by intellectual
property rights and are intended for the sole use of the recipient(s) named
above. Any use of the information contained herein (including, but not
limited to, total or partial reproduction, communication or distribution in
any form) by persons other than the designated recipient(s) is prohibited.
If you have received this e-mail in error, please notify the sender either
by telephone or by e-mail and delete the material from any computer. Thank
you for your cooperation.
_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel
***********************************************************************************
Information
contained in this email message is confidential and may be privileged, and is
intended only for use of the individual or entity named above. If the reader
of this message is not the intended recipient, or the employee or agent
responsible to deliver it to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error, please
immediately notify the address@hidden and destroy the original
message.
***********************************************************************************