Skip navigation
Currently Being Moderated

how to use Baskerville bold italic font in iOS?

Jun 26, 2013 4:05 PM

Tags: #air #ios

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";
.bold = true;
.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?




More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points