Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Accented spanish characters and text-transform: capitalize #252

Open
metallist opened this Issue · 1 comment

2 participants

@metallist

Hi guys!
Had an issue today with Myriad Pro Light typeface and using spanish characters with acute accent (á, í, ú etc.). When cufon transforms the text of an element that has CSS rule text-transform: capitalize applied, the lowercase accented characters become the same uppercase accented characters.
I just removed the given CSS rule and it worked fine for me but you might want to take a look at this 'cause this behavior was rather unexpected from cufon.

@simonDiazSaez

hey, i know its an old post, but i found whats going wrong with this.

search for /\b./g inside capitalize function. it have to be replaced with /(?:^|\s)./g
:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.