Announcement

Collapse
No announcement yet.

Userimage with diferents widths?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Userimage with diferents widths?

    Hello,

    Display: 50DCT-CLB
    Mode: Serial with Arduino
    PS.: I use Visi for input images in SD, so i can call that images from arduino.

    -My project need Multi-Language System.

    I want to improve FONT , how the font dont have anti-aliasing system, the pixels is ON-OFF...
    I set 26 images of "ABCDE...", but each letter have diferent width, its possible to do it with user image?
    Because when i call that Userimagem all index came with the same width(first image width), they Strech the...
    Or i have to do it with one image object for each letter??

  • #2
    Hi lucas4m4,

    Have you tried this Application Note?
    4D-AN-00089: Serial Displaying Third Party Fonts FAT16
    http://www.4dsystems.com.au/appnote/4D-AN-00089/

    Also, These forum threads might be helpful:
    uLCD-70DT - External fonts anti-aliasing
    http://forum.4dsystems.com.au/forum/...-anti-aliasing

    Multiple languages
    http://forum.4dsystems.com.au/forum/...iple-languages

    In creating the letter images, have you tried creating equal width images? so that it wouldn't stretch out..

    Hope this helps,

    Comment


    • #3
      Hello Joseph Herrera,

      Thank you for the fast replay. =)

      Originally posted by Joseph Herrera View Post
      Hi lucas4m4,

      Have you tried this Application Note?
      4D-AN-00089: Serial Displaying Third Party Fonts FAT16
      http://www.4dsystems.com.au/appnote/4D-AN-00089/
      Unfortunately, this solution dont help me, i knew this method but how i said in my post this method dont have anti-aliasing system.

      Originally posted by Joseph Herrera View Post
      Hi lucas4m4,
      Also, These forum threads might be helpful:
      uLCD-70DT - External fonts anti-aliasing
      http://forum.4dsystems.com.au/forum/...-anti-aliasing
      I was reading these forum thread, is exactly what im saying, is not possible anti-aliasing font system.

      Originally posted by Joseph Herrera View Post
      Hi lucas4m4,

      Multiple languages
      http://forum.4dsystems.com.au/forum/...iple-languages

      In creating the letter images, have you tried creating equal width images? so that it wouldn't stretch out..
      This is my Idea, use user images for each letter, but each letter have diferent width, this occurs because if all images have the same width
      the text will appears likes this:

      " w o l r d "
      or

      " l a n g u a g e"
      or
      "s y s t e m

      Is dificult to explain here, hahahah
      Because each letter have diferents width in a text for sinergy and harmony of text.

      So i cant use all images with the same width...


      thanks you for the reply, im trying with each letter for each image and if you get another solution for my problem dont hesitate to reply. =)

      Comment


      • #4
        question, will your text by dynamic or static?

        Comment


        • #5
          Originally posted by tonton81 View Post
          question, will your text by dynamic or static?
          Dynamic.
          The idea is create one array of char(alphabet), and verify each char of char array(word) match the index with userimage index.

          How i need only 5~10 short words for each form, with 8 letters average for word, in worst situation 80 letters maybe 100

          I didnt test yet but i think will be fast...


          sry my english...

          Comment


          • #6
            Hi lucas4m4,

            some additional info:

            Anti alisaing is not added so that fonts can be drawn on any background, fonts that are antialiased must be drawn at run time as the 'colour' of the anti aliasing component depends on what is already on the display. Drawing the font at run time will be very slow.

            For Userimages, variable width fonts may not be possible. The images used should have fixed width.
            We suggest to find nice width fonts, there a few nice ones out there. =)
            One get round is by repositioning after each character, however this might not end up good looking.

            Most people, who need to do multiple languages usually use normal fonts, those who want anti-aliased fonts tend to use fixed userimages/userbuttons and select the one in the appropriate lane at run time.

            Hope this helps,
            Last edited by Joseph Herrera; 24th February 2017, 10:40 AM. Reason: edited for more clarity

            Comment

            Working...
            X