- From: Cameron McCormack <cam@mcc.id.au>
- Date: Tue, 21 Oct 2014 16:35:13 +1100
- To: www-style list <www-style@w3.org>
I have a document that includes some code snippets in <pre> elements. Here is one: <pre> ... <ex:arc from="n2" to="n3" label="Λ + c"/> ... </pre> It turns out that the font I am using for my code snippets doesn't have a glyph for the "Λ" character, and that the fallback font it ends up using has an advance that is a bit bigger than that of the surrounding characters. This causes all the following characters to look misaligned, when looking at the lines above and below it. Is there a way to prevent that from happening? I feel like I want the ability to compress the "Λ" so that its advance is 1ch or perhaps to let it render at its slightly-bigger-than-I-want size but then place the following character where I expect it. pre { font-family: My Monospace Font; text-advance: 1ch compress; }
Received on Tuesday, 21 October 2014 05:35:46 UTC