Curses UI glyphs are incomplete

Issue #204 new
RMTEW FULL NAME repo owner created an issue

Observed problem: Curses gets passed characters to display which are garbage, as they are intended to be specified in the graphical font which libtcod uses.

The glyph character codes should be unrelated to displayed shape, and the layers, either libtcod or curses, should map them to the displayed shape.

Comments (1)

  1. RMTEW FULL NAME reporter

    d523299 refactored the glyphs to have complete mapping layers in both UI implementations. However, problems remain in the curses version.

    The curses version uses the Terminal font, as it is the default for consoles. However, this is a raster font, which only has the standard set of characters of 1-255 value. But the utf-16 ids which are mapped still work! At least some of them do.. where do they come from?

    Also printing the cent character causes display anomalies, where the cursor does not move to the right location. PDCurses problem?

  2. Log in to comment