B4A Library TextJustify Library(Space and Kashida)-Beta

Discussion in 'Additional libraries, classes and official updates' started by ArminKH, Feb 27, 2015.

  1. ArminKH

    ArminKH Well-Known Member

    sepehr-4.gif sepehr-1.gif sepehr-6.gif

    Hi

    Now this is a library 4 justify texts with 4 algorithm

    please test attached apk and if not appare any issue I will compile this to library

    this lib has 4 algorithm

    2 algorithm is for justify by space and 2 algorithm is for justify by extend(named kashida for justify PERSIAN AND Arabic texts)

    And in each 2 algorithm one algorithm is fastest and one is accurate

    This is similar to MS-WORD justify algorithm

    And in sample is 3 option

    1-CheckPriority:observes priority over each letters of the words and selects the most prefreed one to be extend(similar to MS-WORD)

    Check this option if you want check priority or not to extend first possible letter in each word

    2-LastLine: uncheck this option if you don't want to justify last line

    3-MinLineWidth:Enter a value between 0 to 1 (0% to 100%)

    By using this option if line width / viewwidth is less than MinLineWidth then that line not justified

    And at last you can see speed of justify in last label (Justify Report)


    NOTE: Please test this lib on android version 2.3 or 2.1 certaily

    Tnx all
     

    Attached Files:

    Last edited: Feb 27, 2015
  2. ArminKH

    ArminKH Well-Known Member

    If you test this apk please write you test on which device and which android version
     
    salman, Ali Moghaddam and hos3ein like this.
  3. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi armin.
    I am very khoshal that ketabkhone created.
    Good bashi armin
     
    salman, Ali Moghaddam and ArminKH like this.
  4. ArminKH

    ArminKH Well-Known Member

    Thanks omid
    Please test and post result if is possible 4 u
    Although i know u are so busy :)
     
    Ali Moghaddam likes this.
  5. itgirl

    itgirl Active Member Licensed User

    Works like a charm , great work ;)

    Galaxy S4 android 4.4.2
     
    ArminKH likes this.
  6. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    I test it and work well.Thank you
     
    salman and ArminKH like this.
  7. MarcoRome

    MarcoRome Expert Licensed User

    Hi Arminkh.
    Where is this library ?
    Thank you
    Marco
     
    ArminKH likes this.
  8. ArminKH

    ArminKH Well-Known Member

    Maybe next week i can share this
    For some reason i prefere to dont share this
    But i will share that soon
     
    salman, hibrid0 and MarcoRome like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice