FAQ Database Discussion Community


font feature settings bug with letter spacing

css3,google-chrome,opera,letter-spacing
I have a problem with with the font-feature-settings property in Chrome and Opera: I want to use 'onum' setting so I write, in the CSS, the following lines: -moz-font-feature-settings: 'onum' on; -ms-font-feature-settings: 'onum' on; -o-font-feature-settings: 'onum' on; font-feature-settings: 'onum' on; -webkit-font-feature-settings: 'onum' on; It works perfectly in Firefox and IE,...

How to enlarge UILabel width (letter spacing) in Objective-C?

objective-c,uilabel,letter-spacing
This is the code I am using for the UILabel title of my View Controller: UIFont *bebasFont = [UIFont fontWithName:@"Bebas" size:100]; RestaurantsTitle.font = bebasFont; RestaurantsTitle.text = @"RESTAURANTS"; and I need to enlarge the space between the letters of the title but I don't know how to do it.. I have...

Is it possible to have different letter-spacing between characters in the same word? Can this be accomplished with CSS only?

javascript,html,css,kerning,letter-spacing
I've done some research, and I'm aware of the letter-spacing CSS property, but is it possible to have different characters within the same word spaced differently? I wouldn't be skipping any layers, so I couldn't accomplish this with using span tags every two letters. .ex { letter-spacing: -2.0px } .am...

css letter spacing doesn't work when the page was rendered by document.write

css,document.write,letter-spacing
Below code works as I expected. Every thing is perfectly styling. <style> .letter-spacing{ width: 400px; background: red; text-align: center; letter-spacing: 20px; } </style> <div class="letter-spacing"> <img src="icon1.png"> <img src="icon2.png"> </div> However, if I render the "div" using document.write, "letter-spacing: 20px;" doesn't work. The interesting thing is red background and center...