Skip to content

Conhost replication - Consolas font-size off by one pixel? #18745

Answered by lhecker
jojje asked this question in Q&A
Discussion options

You must be logged in to vote

I wrote about this topic in this issue here: #14165 (comment)
Edit: It seems you already found that comment before.

tl;dr: First, enable ClearType in the advanced settings of the default profile. Then, to convert Consolas font sizes in conhost into font sizes in Windows Terminal, divide the size by 1.561197917. For instance, the default conhost size 16 is 10.248540448 in Windows Terminal. This should then match almost perfectly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lhecker
Comment options

Answer selected by jojje
@jojje
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants