In Firefox 3.6, IE7 and Opera 10 on Windows, this HTML has an odd behavior:
<html><head></head>
<style>
span {
font-family: monospace; background-color: green;
}
span.b {
font-weight: bold;
}
</style>
<body>
<span>Text</span><span class="b">Text</span><span>Text</span>
</body>
</html>
The bold span in the middle is shifted dow...
I am trying to fit a WPF RichTextBox to exactly accommodate a grid of characters in a particular monospace font. I am currently using FormattedText to determine the width and height of my RichTextBox, but the measurements it is providing me with are too small--specifically two characters in width too small.
Is there a better way to per...
I have a ASP has a Function that converts
ä to ä so far so good.
I have lets say space for 10 char's if there are more cut them of if there are less fill the space up with  's. . Like this:
test            
but if i say "täst" it does this:
te ä t  
It interprets the ä not as one char...
I have a PangoFontDescription and I want to know whether it describes a monospace font.
I have seen the function pango_font_family_is_monospace() in the Pango API documentation but after several hours of puzzling it is still not clear to me what the relationships are between PangoFontFamily, PangoFontMap, PangoFont, PangoFontset, Pango...
I made a program that generates ASCII art from an image. I want users to be able to copy and paste that ASCII art to their wall and have it display properly.
Problem:
Facebook doesn't use a monospace font.
Does anyone have any ideas on a workaround?
...