Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2010, 06:54 PM   #1 (permalink)
Programming Wizard
 
slahteine's Avatar
 
Join Date: Oct 2008
Location: Northampton, MA USA
Age: 45
Posts: 193
slahteine is on a distinguished road
Send a message via AIM to slahteine Send a message via Yahoo to slahteine Send a message via Skype™ to slahteine
Default Font spacing between musical characters changed in iOS 4

My app uses Unicode characters to display musical information - in particular the flat (♭) and sharp (♯) characters. These worked great in iPhone OS up to version 3.x, but the kerning of these characters has changed so that they are much more widely-spaced in iOS 4. This has really messed up my app's appearance with the new OS. I've widened the UILabels to accommodate the altered spacing, but the flat and sharp characters are just too spaced-out, and it just looks bad.

How can I get around this issue? I don't want to have to write my own custom string-drawing code that handles these glyphs as a special case, but it looks like I may have to do just that, which will complicate my app somewhat.

Is there a way to get the fonts to behave like they did in iPhone OS 3? It looks like all the fonts share these (and other) Unicode characters, because selecting another font doesn't change their spacing or appearance. I've thought of doing something tricky like extracting the iPhone OS 3.x fonts and embedding one or more of them into my app, but that's a whole can of worms I don't want to open if I don't have to.

Any suggestions are welcome!
__________________
|
| I wrote ChordCalc ... A cool fretboard calculator.
|

slahteine is offline   Reply With Quote
Reply

Bookmarks

Tags
fonts, ios 4, ios 4.0, ios4, problem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 339
5 members and 334 guests
freewind, HemiMG, lendo, Newbie123, PlutoPrime
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,894
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:55 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0