Skip to content

Instantly share code, notes, and snippets.

@imaurer
Created October 29, 2019 13:32
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imaurer/d330e68e70180c985b380f25e195b90c to your computer and use it in GitHub Desktop.
Save imaurer/d330e68e70180c985b380f25e195b90c to your computer and use it in GitHub Desktop.
Relative Widths of Non-Fixed-Width Font Example from Stack Overflow
{'a': 60,
'b': 60,
'c': 52,
'd': 60,
'e': 60,
'f': 30,
'g': 60,
'h': 60,
'i': 25,
'j': 25,
'k': 52,
'l': 25,
'm': 87,
'n': 60,
'o': 60,
'p': 60,
'q': 60,
'r': 35,
's': 52,
't': 30,
'u': 60,
'v': 52,
'w': 77,
'x': 52,
'y': 52,
'z': 52,
'A': 70,
'B': 70,
'C': 77,
'D': 77,
'E': 70,
'F': 65,
'G': 82,
'H': 77,
'I': 30,
'J': 55,
'K': 70,
'L': 60,
'M': 87,
'N': 77,
'O': 82,
'P': 70,
'Q': 82,
'R': 77,
'S': 70,
'T': 65,
'U': 77,
'V': 70,
'W': 100,
'X': 70,
'Y': 70,
'Z': 65}
@imaurer
Copy link
Author

imaurer commented Oct 29, 2019

This was built using the image from StackOverflow:
https://stackoverflow.com/a/3949453

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment