Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I change the font size of text charactor? #343

Closed
ETC-kintaka opened this issue Dec 21, 2022 · 2 comments
Closed

How do I change the font size of text charactor? #343

ETC-kintaka opened this issue Dec 21, 2022 · 2 comments
Labels
question Further information is requested

Comments

@ETC-kintaka
Copy link

I want to partially resize the text to be displayed.
Is that possible?
I am looking for a method other than segmented display.

I looked for celloption inside godoc but could not find an instruction to achieve font resizing.
https://pkg.go.dev/github.com/mum4k/termdash@v0.17.0/cell

I wanted to put up a Question label but could not.
Sorry.

@mum4k mum4k added the question Further information is requested label Dec 21, 2022
@mum4k
Copy link
Owner

mum4k commented Dec 21, 2022

Thank you for reaching out @ETC-kintaka. The font size isn't controlled by Termdash. Termdash runs on top of a terminal that is configured with a particular font size. When Termdash prints characters, they will be printed in the font size configured on the terminal.

To increase the font size, you would have to configure a different or larger font in the terminal emulator.

You are right that the segment display works around it, it draws larger characters. This is achieved by no longer using fonts, but drawing all characters a point at a time.

@ETC-kintaka
Copy link
Author

Thank you for contacting us.
Understood.
The font size is determined by the font specification in Terminal.
If you want the numbers to appear larger, use the segmented display.

I thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants