Details
-
Type: New Feature
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Dev and Dep, file format issue, renderer
-
Labels:
Description
Jalview 2.8 and before use a single font family for all rendered symbols. It would be useful, however, to be able to use a different font for quantitative annotation. One example is the use of Fatfonts (www.fatfonts.org) for numbers on the alignment.
Fatfonts provides numeric symbols where the amount of ink used is proportional to the numeric value, and each digit can be scaled so that the least significant digit fits inside the next most significant digit for representing numbers needing more than one digit.
The process of scaling fatfont consecutive fatfont digits so they nest is generally known as 'contextual alternates', and the fonts encode the scaling information needed as hints. Unfortunately, Java's graphics2d doesn't support this out of the box, and so Jalview's renderer would also need to be patched to allow single and multi-digit data display.
Fatfonts provides numeric symbols where the amount of ink used is proportional to the numeric value, and each digit can be scaled so that the least significant digit fits inside the next most significant digit for representing numbers needing more than one digit.
The process of scaling fatfont consecutive fatfont digits so they nest is generally known as 'contextual alternates', and the fonts encode the scaling information needed as hints. Unfortunately, Java's graphics2d doesn't support this out of the box, and so Jalview's renderer would also need to be patched to allow single and multi-digit data display.