Sketch, Figma or Adobe XD?

5 years ago from Spencer Bittle, Designer

  • Art BlancArt Blanc, 5 years ago

    Is pdf rendering (for iOS assets) also using Core Graphics?

    0 points
    • Marc EdwardsMarc Edwards, 5 years ago

      Yep. Pretty much all vector drawing done using Apple’s APIs is Quartz 2D or Core Graphics under the hood.

      That means SVGs and CSS in Safari, PDFs in Preview and Mail, plus vector shapes in Keynote, Sketch, PaintCode, and lots of other apps.

      PDF iOS assets are rendered by Xcode using Core Graphics, then included in the bundle as PNGs (compressed using PNGCrush). That means the vector shapes look great, as shown above. There’s lots of other potential issues, depending on what the PDFs contain. More info here: Why I don’t use PDFs for iOS assets

      2 points