traits>>xFontDictionary>>fullNameFor:Size: specify only the point size #162
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Specify just the "
ptSz" in the constructed XLFD name (point size in units of 0.1pt). Do not specify the "pxlsz" (pixel size) component - it depends on the target resolution. Specifying pixel sizeNand point sizeN*10implicitly hardcodes 75dpi (well, 72, but...) and when you have only 100dpi fonts the results are poor.I haven't tested the case where you have both 75dpi and 100dpi but arguably if you make both variants available in your font path "just in case", the onus is on you to order them appropriately based on your screen resolution.