|
From: Benjamin L. <bj...@gm...> - 2011-02-07 08:07:58
|
>> This happens, because GraphChangeFont() is called with an empty font
>> name (not a NULL pointer, but the empty string ""). MakeFonts(), when
>> presented with a font name which is empty, resets graphwin.rotate to
>> FALSE.
>
> It should not do that.
> An empty string means "restore the default font".
> So unless the default font is for some reason non-rotatable,
> WIN_text_angle should always return TRUE.
Yes, on the high-level interface, true. But MakeFonts() is way down
low-level in the windows terminal.
WIN_set_text("") handles the reset-to-default-font action.
So actually MakeFonts() should never be presented with an empty font
name, only the terminal's default font name.
benjamin
|