drupal: Arabic text on image - drupal-6

I would like to display Arabic text on an image on drupal! in the PHP code I use an Arabic font! the text is displayed but with letters parts! do you have any solutions for me! thank you very much

Drupal has nothing to do here. What you want is to write Arabic text on/in an image in PHP.
The simplest and the most standard way is to use PHP's imagettftext(). However, imagettftext() does not fully support right-to-left languages like Arabic. You need to correctly reverse Arabic chars and pass them to imagettftext(). See a duplicate : Error while writting Arabic to image

Related

converting glyphs to SVGs

i'm building a website and wanted to display a bunch of international (pretty obscure) characters on the splashscreen. out of concern for platform-specific system fonts, instead of typing in those characters as text, i want to embed them as SVGs. does anyone know of an easy way to take the glyphs i'm seeing in my keynote / pdf and convert them to SVGs?
tried a bunch of things - converted keynote to pdf and used several online pdf->svg converters, but that misses some obscure characters and returns a misformatted svg. tried copying and pasting the text into figma and exporting as svg, but figma doesn't render more rare international fonts. i just want to take what i'm seeing on my screen and make those SVGs.
The only thing that occurs to me is to open the fonts or drawings in an editor like Adobe Illustrator or Inskcape and edit them there and download them as svg

Store bold character in string in Flutter

I am having a string which is hardcoded now (which would be fetched from database in future). I want some parts of the strings to be bold while its stored rather than use rich text (as it would be random with different text). Is there any way to store it as bold using some escape sequences ?
Also is hyper link possible in string in flutter.
Thanks in advance.
I don't think that's possible. But if you have control over the input's format, what you can do is style it using markdown and use the flutter_markdown package to render it.
For hyperlinks, see this answer to do it with RichText. Markdown supports hyperlinks though.

Is there property in Tesseract OCR to find string and delete page from PDF

I was trying to convert Image PDF to text PDF in Tesseract OCR. In between i need to check for cover page and remove that from the result. Is it possible in Tessaract OCR itself to identify cover page based on specific properties of cover page(cover page text matching). or do i have to take the whole output of tessetact OCR result and provide my logic to scan PDF and remove cover page. I am fully confused and any help will be appreciated.
Theres no way for Tesseract to do that, you should remove the page beforehand, and then hand the PDF image to OCR.
There's a good answer on how to do what i told you at https://stackoverflow.com/a/11541587/9740486

GhostScript render without text

I would like to know, сan GhostScript render pdf on image (such as jpeg) without text? If not, advise the free library for .net, that it will make.
Sorry for my English. Thx!
What do you mean by 'render without text' ? Do you mean that you want all the content of a PDF page rendered to a format which doesn;t contain text (such as JPEG), or do you mean you want all the content of a PDF page except the text rendered, to a file format such as JPEG.
Its possible to elide the text, but its not a command line switch or anything like that, because its pretty hard to see why you want to do this.
If you really do want to do it, then your best bet is to modify the text handling procedures in the PDF interpreter, I would suggest that you don't alter the processing but set the text rendering mode to mode 3 (neither stroke nor fill) to prevent any problems with the current point not being correct.

LWUIT : arabic font problem

Hi
how can i add arabic Characters to bitmap font and show in application ? how can i do it on localization section ?
when i use system font it`s shows seprated and reserved on some phones , i want to make bitmap font to show arabic strings correctly on all phones
thanks
you can't, LWUIT doesn't support Arabic bitmap fonts. Which is related to the fact that Arabic language contains different glyph for each character, which didn't considered while developing the bitmap font in LWUIT.

Resources