• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PDF image template comes out too small
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PDF image template comes out too small


  • Subject: PDF image template comes out too small
  • From: David Catmull <email@hidden>
  • Date: Wed, 01 Jun 2016 08:51:12 -0600

I'm trying to use PDF files as image templates for my segment controls, but
they come out too small.

I created them using Affinity Designer, adding the "Template" suffix. They
end up getting drawn at half size in my controls. I tried changing the
export DPI from the default (~144) to 72, but it had no effect.

Exporting them as png instead works fine - at runtime, that is. Xcode
7.3.1's editor shows them at half size like the PDFs. This only happens
with my custom images, never with standard system images.

The images are 16x16, exported using Designer's "PDF (flatten)" setting. My
segment control is "small square" style, with 37px wide segments.

How can I make them display at the right size? I can make do with pngs if
necessary, but for one thing I like not having to have @2x versions of
everything. Plus Apple's documentation recommends PDF for template images,
so it ought to work.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: PDF image template comes out too small
      • From: Quincey Morris <email@hidden>
    • Re: PDF image template comes out too small
      • From: Aandi Inston <email@hidden>
  • Prev by Date: Re: debugging AirDrop (update)
  • Next by Date: Re: PDF image template comes out too small
  • Previous by thread: Re: debugging AirDrop (update)
  • Next by thread: Re: PDF image template comes out too small
  • Index(es):
    • Date
    • Thread