Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Apostrophe not accepted.

  • #1, by Jorkz 8 years ago Zitieren
    I recently imported a .TTF font in VS and when I examine that everything seems correct but when I launch the game I note he's completely ignoring apostrophe... I don't know the translation ... it's =>  '

    Why ?

    Thanks.
  • #2, by rhavin grobert 8 years ago Zitieren
    I'm not at home so I cant check this, but have you tried

    \' (backslash single-quotation-mark)

    ?

    It might be an encoding-error as strings usually get delimited by single or double quotation marks. I think a real apostrophe (U+2019) is impossible as VS does not understand utf-8 (at least last time I checked).
  • #3, by Jorkz 8 years ago Zitieren
    Thank you

    I tried it now but it doesn't seem to be that.

    VS interpreted  \'   like  \

    It's weird cause it accepts "complex" others like $, * or ~  etc...
  • #4, by sebastian 8 years ago Zitieren
    does the font have it when you use it in another program? 
  • #5, by Jorkz 8 years ago Zitieren
    Yes, but it's not the same aopostrophe of the Windows preview
  • #6, by Jorkz 8 years ago Zitieren
    I don't understand....

    Now in an another program it works
  • #7, by rhavin grobert 8 years ago Zitieren
    Thank you

    I tried it now but it doesn't seem to be that.

    VS interpreted  \'   like  \

    It's weird cause it accepts "complex" others like $, * or ~  etc...
    Acually, those are not complex, they're plain standard ASCII. But in contrast to ' and " they're not used in markup. Have you checked that you use the correct glyph? Try copying this and see if it works:

    '

    BTW, how about full utf-8 implementation?

  • #8, by Jorkz 8 years ago Zitieren
    I tried...

    ' and " doesn't work
  • #9, by SimonS 8 years ago Zitieren
    The engine is completely utf8 and utf16. Your ttf needs to include explicitly the apostrophe. Not all ttfs do that.
  • #10, by Jorkz 8 years ago Zitieren
    So Is there a converter on the net to fix this problem ?
    ...Or something like that ?
  • #11, by ozzie-dave 8 years ago Zitieren
    I think that when downloading ttf files you have to check the writen example underneath on the web page to make sure that things like aopostrophe's can be writen with your chosen text.