typography

Firefox kerning differently to other browsers (negative letter spacing in CSS)

I am having issues with Firefox rendering text differently to every other browser when negative letter spacing is applied: h2{font-size:1.6em;font-weight:bold;color:#999;letter-spacing:-0.10em;} <h2>Time</h2>(approx) Here is the text rendered in most browsers: http://img707.imageshack.us/i/font2x.png/ Here is the text rendered in Fi...

Typogrify equivalent for .NET

Does anyone know of, or use a library that has similar functionality to Typogrify (http://code.google.com/p/typogrify/) in a .NET project. Typogrify is a Python/Django library and I am looking for an equivalent that I could use in a .NET project. Edit: Now I'm just looking for any typography processing library for .NET ...

Using FreeType in C#

How can I use freetype library in C#. Can I get the graphical information of any character using freetype?(Ex. lineto, curveto, etc). I want to use such command to draw them on my bitmap after some processing. How to use FT_Outline_Funcs (http://freetype.sourceforge.net/freetype2/docs/reference/ft2-outline_processing.html#FT_Outline_Fu...

What font is this?

Anyone know what font that is? The 'British Remains' one that is. Link ...

What is the exact length of a point (pt) in Lotus Forms?

i am going to convert couple Lotus Forms forms to web pages. So i checked what it uses for font size. It is pt, which make me think that it is point. I tried same values for font sizes, like Arial,Bold,7pt. BUT, text in webpage is smaller than text in Lotus Forms. and it is easy to chatch, not a difference that requires magnifier. Which...

changing character size with CSS

Hi. Is it possible to change the size of a specific character using CSS? For example, in a paragraph I am using font-face: Arial; font-size: 12pt;. I would like that only the letter "a" would appear in size 10. Is there a way to do that? Thanks. ...

Capitalize first letter in ruby

upcase method capitalizes the entire string. I need to capitalize only the first letter. Also, i need support several popular languages, like "german", "russian" etc. How to do it ? ...

Insert &nbsp; in Rails with Nokogiri

Hi, i need to insert nbsp symbol in some places of the HTML, that comes from DB and will be displayed on the page. I do following: doc = Nokogiri::HTML( self.content ) doc.css("p").each do |p| p.content.gsub! pattern, "&nbsp;" end This resulting text contains nbsp, displayed as a plain text, but not a special symbol. I also trie...

Creating an equation editor using STIX fonts?

Now that the STIX fonts have been released, how would one go about rendering equations with them? What are the basic rendering patterns, e.g. superscript, division type block, integral type block, square root like patterns, etc? How do these map to the glyphs in the STIX fonts? Pointers to resources would be very useful. I realize thi...