Fix segfault, remove leftover debug printf
Two commits:
- fix a segfault triggered when reading a bdf with empty foundry, which is encoded as
NULL
rather than""
. - remove a debug printf I missed to remove in one of my recent commits.
- fix wrong sign of calculated descent
Edited by madroach