E3DViewer::GetFontPath

E3DViewer::SetFontPath

Configure the TrueType font used to display text on the 3D Viewer

Namespace: Euresys::Open_eVision::Easy3D

[C++]

std::string GetFontPath() const

void SetFontPath(const std::string& path)

Remarks

Setup a font file must be done before the E3DViewer::InitRendering method is called.
By default, the TTF file is:
- on Windows: C:\\Windows\\Fonts\\Arial.ttf
- on Linux: /usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf or
- /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf" or
- /usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"

E3DViewer.FontPath

Configure the TrueType font used to display text on the 3D Viewer

Namespace: Euresys.Open_eVision.Easy3D

[C#]

string FontPath

{ get; set; }

Remarks

Setup a font file must be done before the E3DViewer::InitRendering method is called.
By default, the TTF file is:
- on Windows: C:\\Windows\\Fonts\\Arial.ttf
- on Linux: /usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf or
- /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf" or
- /usr/share/fonts/truetype/noto/NotoMono-Regular.ttf"