NSHTMLTextDocumentType returns wrong font names

2014-01-04 Thread Leonardo
I'm trying to export the content of my NSTextView to an HTML page. I get the HTML code using NSDictionary *attributes = [NSDictionary dictionaryWithObjectsAndKeys:NSHTMLTextDocumentType, NSDocumentTypeDocumentAttribute, nil]; NSData *htmlData = [textView dataFromRange:editedRange

Re: NSHTMLTextDocumentType returns wrong font names

2014-01-04 Thread Jens Alfke
On Jan 4, 2014, at 3:03 AM, Leonardo wrote: > I'm trying to export the content of my NSTextView to an HTML page. > I get the HTML code using > > NSDictionary *attributes = [NSDictionary > dictionaryWithObjectsAndKeys:NSHTMLTextDocumentType, > NSDocumentTypeDocumentAttribute, nil]; > NSData

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: >