[GH-ISSUE #343] How do I change the font size of text charactor? #159

Closed
opened 2026-03-03 16:22:58 +03:00 by kerem · 2 comments
Owner

Originally created by @ETC-kintaka on GitHub (Dec 21, 2022).
Original GitHub issue: https://github.com/mum4k/termdash/issues/343

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.

Originally created by @ETC-kintaka on GitHub (Dec 21, 2022). Original GitHub issue: https://github.com/mum4k/termdash/issues/343 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.
kerem 2026-03-03 16:22:58 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@mum4k commented on GitHub (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.

<!-- gh-comment-id:1361657267 --> @mum4k commented on GitHub (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.
Author
Owner

@ETC-kintaka commented on GitHub (Dec 22, 2022):

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.

<!-- gh-comment-id:1362250282 --> @ETC-kintaka commented on GitHub (Dec 22, 2022): 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termdash#159
No description provided.