mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[GH-ISSUE #343] How do I change the font size of text charactor? #159
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.
@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.