View Full Version : Flex No bullets with embedded font
unhitched
January 17th, 2009, 09:33 AM
hi,
I've embedded the Verdana font (using an external css) into a Flex app I've created so that I can do some basic fading between state changes but for some reason the bullets don't appear in the html lists I have on some pages.
I found that by changing this:
fontFamily: "Verdana";
to this:
fontFamily: "Verdana, sans";
the bullets appear. But the font no longer looks the same and fading doesn't work.
Any ideas?
cheers
.ral:cr
January 17th, 2009, 02:10 PM
did you embeded the bullet?
i don't think you'll get anything with the second, a sans font should be embeded also. fading works only with embeded fonts.
unhitched
January 19th, 2009, 01:45 AM
hi, how do you embed the bullet? I thought the bullet is just part of a font family (ie Option->8 on the Mac).
It won't let me embed "sans" either - says it can't be found. Though it works ok in my above example as a secondary font.
Have you had success in getting bulletted-lists to work in a TextArea control using the html property?
I've tried a number of other fonts to no avail also.
.ral:cr
January 19th, 2009, 03:12 AM
when you embed the font you have a field to specify what fonts to embed. bullet i don't think it's in the default list when you embed without specifying what. you can try selecting some predefined sets and if still doesn't work you can paste the bullet there to be shure was embeded.
unhitched
January 19th, 2009, 07:09 AM
no go. I've done quite a bit more testing with lots of fonts... The bullets appear fine with every font I've tried so far, but all fail to show the bullets as soon as I embed the font. Tried with a new project just to be sure there wasn't something uniquely strange with my initial one and it's still the same.
I also tried your suggestion of manually typing a bullet into a textArea and then choosing to embed the font - it behaves the same! Works fine until I embed the font.
What's going on here? Am I the only one this is happening to?
unhitched
January 20th, 2009, 06:24 AM
ok found a nasty workaround for now.
Using this post http://thanksmister.com/?p=17&cpage=4#comment-11163 to cleanup the html output from the RichTextEditor, I added a mod to place an image inside every <li> tag.
It works, but I'd rather have bullet characters!
CleanHTML output means I can style the TextArea controls completely with css which is very handy too.
Thanks for your suggestions.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.