Thursday, October 4, 2007

Hiding navigation bar in your Blog

You may already know how this is done, but for the ones who doesn't
Add the following code just after the "<head>" tag to remove or hide the navigation bar of your blog.

<!--Remove NavBar -->
<style type='text/css'>#b-navbar {height: 0px; visibility: hidden; display: none;}</style>
<style type='text/css'>#navbar-iframe {height: 0px; visibility: hidden; display: none;}</style>

Wednesday, October 3, 2007

Identify Bold, Italic fonts

Font specifications state that "fsSelection" bits in "OS/2" table (or "macStyle" bits in "head" table) determine whether the font was designed with features like "Italic", "Bold" etc.

"fsSelection" bits ->
Bits 0 & 5 can be used to determine if the font was designed with these features or whether some type of machine simulation was performed on the font to achieve this appearance.

Bit 0 -> Italic if set as 1
Bit 5 -> Bold if set as 1

Tuesday, September 11, 2007

Vista Meiryo font Italic feature

Font Meiryo introduced in Microsoft Vista is very interesting, It only has Italic glyphs for Latin, Greek, Coptic, and Cyrillic characters. Following image shows that only latin glyphs are slanted when Italic property is applied. WOW!
The top row shows italized text.


In Windows Vista, Meiryo is distributed as two TrueType Collection files, with regular and bold glyphs stored in separate files. Each file also contains an italic variant of the font.

Search