Adding extra line break in the given string

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Adding extra line break in the given string

    Hi,
    Recently,We bought a Font Converter for the Multi-langauge support.
    I am Facing a problem for the Hindi Language , Created a resource file for the Hindi langauge.
    Used GUI_LANG_LoadCSVEx(_GetData, hFile) function for reading a language resource text from the CSV file.
    Created a C file for the Mangal TTF by using a Font Converter.
    When reading a string from the CSV file it always displaying in next to next line.
    For eg;
    if a string has line break, on reading the string the it displays
    सक्रिय

    अलार्म


    Actually it has to display like this
    सक्रिय
    अलार्म

    Same thing happening for the english language.
    I have attached a image regarding the issue, i circled red and green in that image.
    The button in green circle has a font GUI_FONT_16B_ASCII and the red circle button has a font which created by using font converter.The text is not setting properly.

    REgards
    VEnkat
    Images
    • IMG_20140128_184812.jpg

      341.48 kB, 816×612, viewed 677 times

    The post was edited 1 time, last by Venkat_15 ().