mta452 / sheenfigurelegacy Goto Github PK
View Code? Open in Web Editor NEWA library to render arabic/urdu fonts on smartphones.
License: Apache License 2.0
A library to render arabic/urdu fonts on smartphones.
License: Apache License 2.0
hello ,, am currently using the font in table that have news and the number of cell is 40 or more
but when scrolling between these cells it crashs the app because the there is somthing with releasing the objects
my app used ARC i tried to figure out the problem and remove "retain" and "release" from the files ,, it fixes the problem a little bit but when trying much more scrolling it still the same problem
could you help me please ?
Hi there,
I'm trying to load a font using your library into my iOS application.
I'm using "sheenFigureCG". I was able to use it before with some fonts.
Now I'm trying a new font, and here is the problem: Inside the method called "generateCachedPages" at:
float lineHeight = self.font.leading;
the lineHeight value gets a nan value and the application crashes.
Is there anyway I can fix this ?
Please find the font I'm using uploaded here:
http://www.fileswap.com/dl/2OFgoxe5t6/
Salam dear brother,
First I want to congratulate you on this wonderful job you've done. In my point of view you're a genius!
I had lately a problem with a font (UthmanicHafs1 Ver09). I'm sure that this font is well done and I verified personally all its tables (in particular the Lookup tables) but I still have the problem you can see on the screenshot in attachement. So I concluded that your program might have a little bug. Can you please see what is the matter.
Thanks in advance.
Yours,
Awesome library in fact
i am using this control to render some articles and some of them are thousands of lines, its taking almost 30 seconds to prepare and render a SSTextView with 10 thousands lines with font size of 20
Please tell me how can i resolve this issue
thanks
Hi,
Thank you for your benefit library , I want to use it for developing an iOS app that used arabic fonts, but as I read in the Readme file, the library supports only Nastaliq or Naskh fonts, and it needs some additions for another type of fonts, could you please tell me what these additions are if I want to use it with other type of arabic fonts?
Regards,
Noor.
Hi,
Thanks a lot for this library. I'm trying to get Malayalam rendering using your code. But ligature substitution is not working. Could you please point me to the code where I should be looking? Here is the font that I use http://jeesmon.csoft.net/fonts/Kaumudi.ttf
ex: ത + ് + ത (\u0D24 + \u0D4D + \u0D24) should render ത്ത (glyphid: ml_t_ta (65581))
Thanks,
Jeesmon
I've updated the SheenFigure library, and now the text doesn't seem to appear at all?
Hi,
Found very good library for arabic text, do we have any SSButton class? currently there are labels,textViews I need custom button with arabic custom font text. any help?
Thanks. :)
Hi there,
Thank you for this powerful library, it helped me a lot with loading custom fonts with arabic texts, for my iOS app.
But There seems to be a problem with setting the text color, I noticed that whatever UIColor I use, the text always appears as black or red.
Is there anything that may fix this problem?? I want my text to be white, how would I do that ?
Thanks,
Roula.
hello ,, am trying to to use this library for arabic font , but i cant build it or run it to se the result
is there any step by step to run this library ,, because it has alot of files missing i already download the freetype files but still not working
please i need some help
is this possible that we could find the text index by providing the touch point to SSTextView?
thanks
Hey man,
I love this project, it looks promising!
Here is the thing:
libsheenfigure.a is showing in red and seems to be missing.
I am also getting a compilation error in Xcode:
mashaAllah you've done a brilliant job here, just a slight problem with Android:
When trying to use a scrollview, if the urdu/arabic text is longer than the screen, when the screen is scrolled the rest of the screen is blank i.e. the bitmap doesn't get drawn.
I hope I've made myself clear - to reproduce just set the text of the textview to something really long.
Hello,
I would like to thank you again for this great library, i see how much effort you put in.
I am having two issues with the library. I need to get the actual height of rendered text to customized the super view based on the height of the text, seems there is no direct way to do that although it is extremely important.
The other issue was that in some situations the words at the end of the line are clipped.
I am not sure why it happens but it seems to be a bug.
Hello,
I am developing Quran application that uses Uthmanic Hafs font. This great library successfully rendered the Quran with some issues.
This font uses Arabic number as Aaya number, where when you type an Arabic number it will automatically put a frame on it, the maximum number of digits is 3 because Quran doesn't have any Soura that has more than 3 digit Aaya count.
This is rendered in MS Word.
And this is how it was rendered in SheenFigure:
You can see that it separates the number into 1 and 52 where it should be 125 into one frame.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.