Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Font character issue on MacOS #79

@CallumHoward

Description

@CallumHoward

Hi,

I believe I have found an issue with font rendering on MacOS. The same code works fine on Windows 10. The issue is that symbols are rendered as questions marks when a font is loaded from a file path. Here is a screenshot of the problem:
Screen Shot 2019-05-04 at 1 38 50 pm
As you can see, the period (.) character is rendered as a question mark. I tested other common ascii symbols, some of them work and some of them don't.

My setup:
libcinder on master (a6dc85ba1)
MacOS 10.14.4
MacBook Pro 2012, NVIDIA GeForce 660m/Intel HD 4000

Steps to reproduce:

  1. Change code to the following in the sample BasicApp.cpp on line 38
    auto config = ui::Options().font(getAssetPath("ProggyClean.ttf"), 12);
    ui::initialize(config);
    //ui::initialize();
  1. Copy ProggyClean.ttf (found in the imgui/misc/fonts directory) or another font to the assets folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions