Font names

2012-12-21 Thread Todd Heberlein
Googling what must must be a common question has failed me :( Is there documentation for the font names (to be used with NSFont's fontWithName:size:) that are standard on the Mac platform? I'm looking for a list like: "Times-Roman" "Times-Bo

Re: Font names

2012-12-21 Thread John Randolph
On Dec 21, 2012, at 9:55 AM, Todd Heberlein wrote: > Googling what must must be a common question has failed me :( > > Is there documentation for the font names (to be used with NSFont's > fontWithName:size:) that are standard on the Mac platform? > Googling what m

Re: Font names

2012-12-21 Thread Nick Zitzmann
On Dec 21, 2012, at 10:55 AM, Todd Heberlein wrote: > Googling what must must be a common question has failed me :( > > Is there documentation for the font names (to be used with NSFont's > fontWithName:size:) that are standard on the Mac platform? Not officially AFAIK,

Re: Font names

2012-12-21 Thread Philip Ershler
Wouldn't the Font Book app in OS X give you the information you seek? Phil On Dec 21, 2012, at 1:36 PM, Nick Zitzmann wrote: > > On Dec 21, 2012, at 10:55 AM, Todd Heberlein wrote: > >> Googling what must must be a common question has failed me :( >> >> Is

Re: Font names

2012-12-21 Thread Nick Zitzmann
On Dec 21, 2012, at 2:06 PM, Philip Ershler wrote: > Wouldn't the Font Book app in OS X give you the information you seek? Not if you have third-party fonts installed, or if you need to know whether or not Apple Color Emoji was installed by default in Snow Leopard (it wasn't) or something sim

Re: Font names

2012-12-21 Thread Fritz Anderson
On 21 Dec 2012, at 3:06 PM, Philip Ershler wrote: > Wouldn't the Font Book app in OS X give you the information you seek? If I understand the OP's intention, he's looking for documentation on which fonts are _included in a minimal installation of Mac OS X._ In other words, the fonts with guara

Re: Font names

2012-12-21 Thread Kyle Sluder
On Fri, Dec 21, 2012, at 01:40 PM, Fritz Anderson wrote: > On 21 Dec 2012, at 3:06 PM, Philip Ershler > wrote: > > > Wouldn't the Font Book app in OS X give you the information you seek? > > If I understand the OP's intention, he's looking for documentation on > which fonts are _included in a mi

Re: Font names

2012-12-21 Thread Todd Heberlein
On Dec 21, 2012, at 1:52 PM, Kyle Sluder wrote: > Apple publishes the list of fonts that are included with each release of > OS X. Here's the list for Mountain Lion: > http://support.apple.com/kb/HT5379 Thanks to everyone's replies. I've actually found the Wikipedia, KB, and Font Book applicat

NSHTMLTextDocumentType returns wrong font names

2014-01-04 Thread Leonardo
tView dataFromRange:editedRange attributes error:NULL]; Well, the style text contains wrong font names. They are not the [NSFont fontName] nor the [NSFont displayName] nor the [NSFont familyName]. For example: - if I use the font name Helvetica-LightOblique, it returns 'Helvetica Light'. And I get a differen

Re: NSHTMLTextDocumentType returns wrong font names

2014-01-04 Thread Jens Alfke
ange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error; which you’re probably calling on textView.textStorage. Can you show us some of the generated HTML with the incorrect font names? > - if I use the font name Helvetica-LightOblique, it returns 'Helvetica > Lig

Re: NSHTMLTextDocumentType returns wrong font names

2014-01-05 Thread Leonardo
Here¹s the repository containing my HTML pages https://github.com/leonardodev/htmlpages Regards -- Leonardo Da: Jens Alfke Data: Sat, 4 Jan 2014 13:40:09 -0800 A: Leonardo Cc: Oggetto: Re: NSHTMLTextDocumentType returns wrong font names On Jan 4, 2014, at 3:03 AM, Leonardo wrote: >

Discovering the default font names and sizes on the iPhone

2009-05-31 Thread Sam Krishna
Hi All, I'm cross-posting this to both the Xcode and cocoa-dev mailing lists, since I am stumped and I suspect one of you have answered this question before: I want to discover the default font used for UITableView's section header view when you set the style to UITableViewStyleGrouped. I

Re: Discovering the default font names and sizes on the iPhone

2009-05-31 Thread Sam Krishna
Hi All, Never mind - I forgot to set the UILabel's font before setting the text value. DOH! Thanks for listening. Live Playfully, Sam - If he listens in faith, finding no fault, a man is free and will attain the cherished words of those who act in virtue. On May 31, 2009, at 7:46 PM, S