I've been looking at my custom font loading code. Some obvious
problems. I don't know if these are "bugs", in that they shouldn't cause
any misbehavior, but they are definitely suboptimal.
1. If no VFS font has ever been loaded, a full VFS font scan is triggered
in order to find font with name "".
2. VFS is searched for last used custom font even if currently a
non-custom font is being used.
I could fix these, but then the handera and other bugs would end up being
swept under the rug, I expect. The bugs' behavior would disappear
(because the VFS font scan would no longer be triggered at startup), but
the bug would reappear in other circumstances for users who use custom
fonts.
Is there any way to duplicate the bug under pose?
Here's a question. Are there any functions, beyond OS_Init(), that need
to be called before EnumerateCards() is called? (The font routines call
EnumerateCards() to find all VFS fonts.)
Finally, I should say that my VFS font stuff introduced a bug into
vfsfile.c: numberOfFiles ends up being uninitialized during a library
update. Whether this causes misbehavior would surely depend on what the
random value of numberOfFiles ends up being. I fixed this in CVS (after
posting a bug report). I haven't seen userland problems as a result of
it, but it's possible that this was behind your problems. Let me know if
they're still there.
Once I fix the VFS font bug, I'll take care of the issues in (1) and (2).
Alex
--
Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED]
Philosophy Department || online papers and home page:
Georgetown University || www.georgetown.edu/faculty/ap85
Washington, DC 20057 ||
U.S.A. ||
-----------------------------------------------------------------------------
"Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur."
- Paul of Worczyn (1424)
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev