For instance, you let the user define the notorious path variable. How do you interpret apppath = C:\Program Files\App?

This looks like a programming language adopted practice to ignore the white spaces and you leave them around the equality mark for readability, but it might be a valid variable value with white space in the application (consider, it is a suffix).

Even keys can contain whitespaces, can't they?

What is the general best practice for my application? If I have:

key-example = value-example


should I interpret the key being "key-example" or "key-example " and the value as being "value-example" or " value-example"?


Question: How do I export a Keynote Presentation to PDF while embedding the font
Answer: I have tested the font you mention in exporting pdf (best quality) from keynote and it is both embedded and displays correctly on my iOS devices using Adobe Reader or iBooks to open the file.  It should work for you as well.  If not, feel free to send me an example of your pdf for testing (tom at bluesky dot org).