Support and General Use > Theming and Appearance Customization

determine font pixel-heights

<< < (3/3)

NsN:
PowerPC macs are big endian and some are 64 Bit.
Shouldn't be very problematic though, i can try to whip something up by tomorrow.

EDIT:
I had some old endian check code lying around. The attached program should work on pretty much any architecture. If for some reason your int is not 4 Bytes you might need to edit the defines at the beginning.

Tested on Pentium M linux and windows and on a G4 Power PC Mac OS 10.4



Bye,
NsN

[attachment deleted by admin, too old]

Navigation

[0] Message Index

[*] Previous page

Go to full version