enthought / enthought/mayavi

display text using TTF font

Open
#1,144 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

Hi,

I know that VTK/Mayavi can only use the 3 fonts (arial, courier & times) to display text, but I see that there is a "font file" field in Axes module for instance.

How is it supposed to be used?

If I set a font file with full path, it does not change anything, text is still displayed with arial/courier/times font.

Any idea?

Thanks in advance.

Regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in the Mayavi Axes module with a full-path TTF font file, then trace how the font file setting is passed to the text display. Confirm whether the font is applied or identify and document the limitation; verify the result by checking the rendered text against the selected font.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.