NSPasteboard contains wrong font for Cyrillic characters

Discussion in 'Mac Programming' started by dantastic, Jun 24, 2014.

  1. dantastic macrumors 6502a


    Jan 21, 2011
    I have a utility I paste text into and it converts the text to a NSAttributedString.

    When I use a font like Helvetica everything is working but when I use some other fonts some text is not rendered correctly. (bold & italic)

    For instance. In Didot a piece of text in italic will not be didot-italic. The NSAttributedString actually has Times as the font (and not italic). For the normal part of the text the NSAttributedstring has the correct font.

    I think that my app is missing full cyrillic support for some fonts but the support seems to be there on the operating system so I'm not sure where the problem may be?
  2. ArtOfWarfare macrumors G3


    Nov 26, 2007
    And neither do we because you've provided us with no code.

Share This Page