[fpc-devel] Patch, font rendering on Arm-Linux devices.

Daniël Mantione daniel.mantione at freepascal.org
Tue Feb 26 14:51:07 CET 2008



Op Tue, 26 Feb 2008, schreef Florian Klaempfl:

> Daniël Mantione schrieb:
>>
>>
>> Op Tue, 26 Feb 2008, schreef Vincent Snijders:
>>
>>> Bernd Mueller schreef:
>>>> Hello,
>>>>
>>>> the attached patch avoids misaligned data access (bus errors), during
>>>> font rendering (with the graph unit) on Arm-Linux devices.
>>>>
>>>
>>> Instead of testing for arm cpu, you could use
>>> FPC_REQUIRES_PROPER_ALIGNMENT too. So it is fixed for sparc as well.
>>
>> Well, packed records are usually used when speed is unimportant. If the
>
> Isn't this used to read a font file?

You are right. Therefore, the "unaligned" pseudo function is the proper 
solution.

Daniël


More information about the fpc-devel mailing list