[GRASS-dev] New OpenGL options to test for native Mac and Win NVIZ

William Kyngesburye woklist at kyngchaos.com
Thu Jul 20 11:07:54 EDT 2006


On Jul 20, 2006, at 2:03 AM, Glynn Clements wrote:

> Yep. The stroke fonts can't be cross-compiled; the build process
> compiles the font tools (splitfont and font_2_bin) then tries to run
> them to compile the fonts. Obviously, this won't work if the font
> tools were built for a different platform.
>
Can this be changed?  Maybe moderize the internal fonts to PostScript  
or TrueType (probably difficult), or either pick an endian for all  
platforms, or add an endian tag at the beginning of the font files  
and the font routines would know how to read them?

> What it should probably do is to install the tools, the raw font data,
> and a script, so that the process can be completed after everything
> has been installed on the target system.
>
The problem is that, while for now with a unix-style install of a  
universal binary GRASS on Mac OS X I can have both processor versions  
available and install the correct font files according to PPC or  
Intel Mac (or as you suggest process the raw data at install), in the  
future someone (ie Lorenzo) will want to make a self-contained, drag- 
n-drop installable grass.app, where there would be no install  
scripts.  A run-time startup script could work in a pinch to rename  
the correct copy for grass to use, or process the raw files.


> There is a similar issue with the datum shift grids used by PROJ.
>
Oh damn!  I'm surprised noone has said anything from using my  
universal binaries (built on Intel Mac).  Maybe the datum grids are  
just not used much (it's only the extras for the states).  And here I  
was working on frameworks for my installers.  The PROJ framework  
would have the same problem as with the GRASS fonts, but I'm not sure  
I can do run-time processing in this case.

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

[Trillian]  What are you supposed to do WITH a maniacally depressed  
robot?

[Marvin]  You think you have problems?  What are you supposed to do  
if you ARE a maniacally depressed robot?  No, don't try and answer,  
I'm 50,000 times more intelligent than you and even I don't know the  
answer...

- HitchHiker's Guide to the Galaxy




More information about the grass-dev mailing list