jbloomlab / dmslogo

draw sequence logos tailored to deep mutational scanning (DMS) data
GNU General Public License v3.0
12 stars 1 forks source link

Fix letter sizes and spacing #1

Closed jbloom closed 5 years ago

jbloom commented 5 years ago

Some letters like Q caused obvious problems as they had descenders, and other letters caused more subtle problems. The reason is that in most fonts, not all letters have exactly the same height starting with baseline.

Made a custom font that has the desired properties, packaged it, and set up the program to use this by default.

Also made some small changes to improve letter spacing and performance.

These changes bump the version to 0.2.0.