numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
20 stars 7 forks source link

Enable font size change for drawed text with text() #200

Closed numeredev closed 7 months ago

numeredev commented 9 months ago

DESCRIPTION

Is your change request related to a problem? Please describe. Text drawn with the text() functions always have the same (global) font size. This does not allow for applications like a word-cloud.

Describe the solution you'd like Enable changing the font size of those functions (which is possible with the used library) at least within distinct steps (like it's done with textsize=VAL

Describe possible alternatives you've considered A clear and concise description of any alternative solutions or features you've considered, if any.

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

Can probably be added directly to the style information of text(), because there's no current use for numerical values in this information. Only thing to be figured out is how the font size is actually to be understood.

Read also through the documentation (p.128f), because some printing options are currently not part of the function documentation.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST