Skip to content

Setting fonts in SwingTerminal.initialize etc. doesn't work #58

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Call SwingTerminal.initialize("name", 40, 100, "Bell MT");

What is the expected output? What do you see instead?
Expected to see the font set to the one I chose. I see: always the default font.

What version of the product are you using? On what operating system?
1.1.1 on Windows.

Please provide any additional information below.
Found a bug here in SwingTerminal.init:
        Font fontObj = null;
        for (String font : fonts) {
            try {
                fontObj = findFont(font);
                // MISSING break;
            } catch (FontNotFoundException ex) {
                LOGGER.error("Failed to set font", ex);
            }
        }

Original issue reported on code.google.com by sor....@gmail.com on 5 Dec 2013 at 11:18

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions