Hi,
since the first "official" Alpha version, TM2 allows themes to resize text in certain scopes (headers, etc.). The markdown bundle does this, for example. Is it possible to completely disable this feature, as I generally don't find it very pretty (which seems like a tuning issue) and it does have some weird issues with code blocks (erratic resizing of single lines)? I couldn't find it in any of the tm_properties guides.
Best regards, Florian
On 28 Dec 2011, at 09:13, Florian Gilcher wrote:
[…] resize text […] completely disable this feature […]
You can only get rid of theme settings by removing them one-by-one. Though there aren’t that many font settings and I think they are all in the Themes bundle.
[…] it does have some weird issues with code blocks (erratic resizing of single lines)?
I think what you are seeing here is “font substitution”.
If for example you’re using a fixed-width font and use a glyph that doesn’t exist in that font, the font system will find the glyph from another font. The metrics might not match so the line may grow in height to accommodate the imported glyph.
This feature is required to correctly render e.g. source comments in many non-Latin languages (where the ascend/descend is slightly higher than for Western scripts).
A font like DejaVu Sans Mono contains most special glyphs in monospaced versions, so you can try that font and see if it helps on the erratic line height adjustments.