Control for Serif/Sans Serif

frpiou shared this question 10 months ago
Answered

Hi

Is it possible from a GGbScript to control Serif/Sans Serif ?

Thanks

Comments (4)

photo
1

Yes, use LaTeX like https://help.geogebra.org/t...

photo
1

By default, when we use Text() in a script, the police is Sans.

I search a way to control this without using tabs properties.

I tried this but it doesn't works :

/5l7nBlUl+xvlmeWm2iRHXd1BAgQILAegZWDzXqaYS0ECBAgQIAAgdUFBJvVDa2BAAECBAgQ6ERAsOlkIDSDAAECBAgQWF1AsFnd0BoIECBAgACBTgQEm04GQjMIECBAgACB1QUEm9UNrYEAAQIECBDoRECw6WQgNIMAAQIECBBYXUCwWd3QGggQIECAAIFOBASbTgZCMwgQIECAAIHVBQSb1Q2tgQABAgQIEOhEQLDpZCA0gwABAgQIEFhdQLBZ3dAaCBAgQIAAgU4EBJtOBkIzCBAgQIAAgdUFBJvVDa2BAAECBAgQ6ERAsOlkIDSDAAECBAgQWF1AsFnd0BoIECBAgACBTgQEm04GQjMIECBAgACB1QUEm9UNrYEAAQIECBDoRECw6WQgNIMAAQIECBBYXUCwWd3QGggQIECAAIFOBP4Pqr2iQRhAvTAAAAAASUVORK5CYII=

photo
1

years ago we created two texts, one serif one sans-serif, then we showed one of them depending of a condition

now the users do not want to do this. I do not understand why.

photo
1

Yes, that's probably the best way to do it: https://wiki.geogebra.org/e...

photo
© 2021 International GeoGebra Institute