Skip to main content
Known Participant
June 26, 2013
Question

how to use Baskerville bold italic font in iOS?

  • June 26, 2013
  • 3 replies
  • 3454 views

So I want to use bold italic Baskerville. No matter what I do, it always shows up as regular in the device (without bold or italic). My code works fine on desktop.

I've tried using TextFormat class properties, which work for fonts like Georgia or Helvetica, but it doesn't for Baskerville.

textFormat.font = "Georgia";
textFormat
.bold = true;
textFormat
.italic = true;

I've also tried using the official iOS name of the font which is "Baskerville-BoldItalic" nothing.

I've listed all the fonts using this


var allFonts:Array = Font.enumerateFonts(true);

And it only lists the regular fonts, no bold or italic versions.

Any ideas on how to make Baskerville render in bold or/and italic?

TIA

This topic has been closed for replies.

3 replies

Adobe Employee
June 28, 2013

Hello,

Could you please open a new bug report on this over at bugbase.adobe.com? Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?

Thanks,

Nimit

MonicaMPAuthor
Known Participant
June 28, 2013

Hello, here is the bug report https://bugbase.adobe.com/index.cfm?event=bug&id=3587210

BTW, I have tried embedding the font, and I got a new problem.... I've described my new problem in the flash forum and in StackOverflow.

http://forums.adobe.com/message/5457958#5457958

http://stackoverflow.com/questions/17356240/as3-font-embed-height-issue

jadams602
Inspiring
June 27, 2013

Have you tried setting the font to "Baskerville Bold Italic" with the bold and italics flags set to false?

MonicaMPAuthor
Known Participant
June 27, 2013

Yes. I have tried all possible combinations...

jadams602
Inspiring
June 27, 2013

Ok, I asked this one specifically because I am using that name with the Text Layout Framework on an iOS app and it works.

MonicaMPAuthor
Known Participant
June 27, 2013

Bump