On Thu, May 29, 2003 at 07:39:05PM -0400, Alexander R. Pruss wrote:
> By the way, I expect part of my problem (which I told you about by email)
> with compiling this under cygwin has to do with case issues.  When you run
>     readlrfont NFNT03e8.bin nfnt03e8.bin
> under Windows, trouble ensues.  The problem is that nfnt03e8.bin overwrites
> NFNT03e8.bin, which in this case works fine I think, but then the file gets
> deleted by the makefile when it tries to delete NFNT03e8.

Aw crap. No kidding trouble ensues.

> My current makefile reads:
>         for file in $(ALL_144dpi_FILES); do \
>                 ./readlrfont.exe $$file x$$file; \
>                 rm $$file; \
>                 mv x$$file `echo $$file | perl -ne 'print lc'`; \
>         done
> This makes sure that everything is the right case, at least under WinME (my
> WinXP laptop is at work).  And the line to delete all the NFNT stuff is
> omitted.

Actually, there is another problem caused by this issue, but your
change to the Makefile won't fix. stdFixedFontID_x2 is used by both
FontTypeV2 and FontTypeV1 for OS5 and Sony OS4 respectivly. When its
built its stored as NFNT03ef.bin and nfnt03ef.bin which are unique.

Ofcourse, when you bulid this on unix you don't have a problem but
building it on windows you'll get two fonts that are the same.

> The second problem with building under Windows is that readlrfont.c needs
> both of its fopen calls modified to binary type: "rb" and "wb" instead of
> "r" and "w".  (I think it does no harm under Unix, either, so you should do
> it more generally.)

That's funny, becuase readlrfont.c originally came from Bible+ (used
w/ permission:) but that program itself was designed to be built under
cygwin. I'll make that change though.

-- 
Adam McDaniel
Array.org
Calgary, AB, Canada
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to