NSPasteboard contains wrong font for Cyrillic characters

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

  1. dantastic macrumors 6502a

    dantastic

    Joined:
    Jan 21, 2011
    #1
    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 604

    ArtOfWarfare

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

Share This Page