Jump to content

cgarnier

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by cgarnier

  1. Hi, 

    I found that the error is caused by the encoding of my gui.h ! It was encoding in ANSI instead of UTF-8, I converted it with notepad ++ and now it's working like a charm ! 
    I just need to carefully convert without filter my fonts so all my UTF-8 characters are supported !

    Thanks again for your help !

  2. Hi,

    Sorry to bother you with such a topic but usage of GTRANS is quite unclear for me... I understand that every text that I need to translate can be stored in a structure and then use with gtrans methods. 

    My application has 5 pages, and I have to translate each page from one language to another when a button is pressed (a setting for user). All my application has to change and stay in the new current language. It works fine with widgets like buttons and labels using gwinSetText + gtransIndex/gt but if I use the gdispFillStringBox as in the demo, the translation disappear once I leave the current page. So, my question is, do I have to make everything a widget and use gwinSetText + gtransIndex/gt for my language to stay as asked by the user or is there another way to do it that I didn't find/think of?

    I also have a question about UTF8. My basic language is French, and some vowels need accent. It works well when the application starts, my French words are written correctly, but when I switch to English then back in French with gtrans tool, UTF8 isn't supported anymore and I've got question marks replacing my accentuated vowels... I'm using a custom font that was well converted to support those special letters, any idea where does it come from?

    Thank's for your help, and do not hesitate to ask for more details if my questions are unclear !

    Charlotte

  3. Hi,

    First I want to thank you for uGFX and uGFX studio, quite good framework and active support. It's a pleasure to work with such dedicated people and a quite good framework.

    I know that uGFX Studio is still a beta test, that's why I thought it is a good idea to report the bugs I've seen. I hope none of them have already been noticed. They almost all concern the generated code :

    1. Multiple declarations of containerDraw_Xxx when multiple backgrounds are define. I had more than 7 times the same declaration for 1 background, and it can touch several backgrounds. I defined 5 different backgrounds, 3 of them had multiple declarations of their containerDraw_Xxx.
    2.  In a containerDraw_Xxx() method, gdispFillArea() and gdispDrawStringBox() change their places, it could result in some text not displayed because a filled Area covers it (see a video in zip file to explain the behavior). It is straightforward to fix it, just place gdispFillArea() before gdispDrawStringBox() in gui.c file, but it happens at each code generation.
    3. x and y postions of label aren't saved in generated gui.c file. I can choose in the Studio the position of my label, but once I generate my files, they are set to 0,0.

    These are all I found for now, I don't say it is a high priority to fix them, just let you know that happens, I'm using uGFX Studio with Windows 8.1 with the last uGFX studio 2.7 version if it matters.

    Thank you for your hard work ! 
    Charlotte

    20170125_175457.zip

×
×
  • Create New...