Get a Arabic text bold in a basic RichText control
Maybe a very silly question, but I'm searching for a solution many days now and maybe someone had the same issue.
I have a basic Arabic text and put in a Flex RichText control with this line:
public override function set text( value:String ):void
this.textFlow = TextFlowUtil.importFromString( value );
// this.textFlow = TextConverter.importToFlow( value, TextConverter.TEXT_FIELD_HTML_FORMAT );
In a CSS file I tell the application to make all the text bold for this RichText control. And the strange thing that happens is that a "normal" english text appears bold and the arabic text stays the same as if the font-weight was set to normal.
Can someone please help me?
Nothing to do with CSS.
On windows I have AdobeArabic-Regular and AdobeArabic-Bold installed.
This markup gives me bold text. I use the textLine.dump() method to see what font player has actually chosen.
<span fontFamily="Adobe Arabic" fontWeight="bold">
If I remove AdobeArabic-Bold and render the same markup FlashPlayer does a fallback looking for some appropriate bold font that has Arabic. If it can't find it bold text is not rendered.
Hope that helps,
Richard
Similar Messages
-
How to get the Arabic text to speech on N8 ?
How to get the Arabic text to speech on N8 ?
Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
Happy to have helped forum with a Support Ratio = 42.5 -
How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.
I have to display the short text in my report output.
How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
Is there any function module availble to get this short text or is this stored in any data base table ?
Please help me. Your help will be highly appreaciated.
THANKS.Hi,
Use FM 'READ_TEXT' to get this values.
Say for exampele my material is 1900001 and batch is 0000000517.
Then my parameters to the FM will be as follows:-
Text Name 000000000001900001 0000000517
Language EN
Text ID VERM
Text Object CHARGE
This information you can get as follows.
Open the short text window in the text editor.
Here you can enter the long text.
In the editor Go to Header and you will find the details.
Please note that the text name will comprise of
Material
Batch
Plant
Stor. Location
if all the details are given.
I hope this helps you.
Regards,
Ankur Parab -
Hi All,
I am downloading my data using GUI_DOWNLOAD FM into Excel ,
Here the issue is in excel the Arabic text is displayed as # ,
I have gone through the scn and worked on some suggestions given like to add code page
tab delimiter etc... but could get the desired output..
can anyone suggest me the way to get the Arabic text correct in Excel.
Thanks,
PavanHi Pavan,
Could you please describe shortly about how ,where is the data being retrieved to the program?
whether you are performing any conversions?
what kind of encoding used ?
it would help me to understand and give you the useful inputs to achieve the desired output
Regards,
Prakash -
Arabic text in my web application using iText..
Hey Guys,
I'm using the iText library to produce PDF reports in my web application; platform (ADF 11g and Weblogic 10g). I'm having a problem with rendering arabic text on the page, is there a way to print arabic text outside of a PdfPTable ?? I need to print a simple text like the title of the report , the subtitle and so on... please guys I need an answer...
Thanks in advance.
AccadSoftgimbal2 wrote:
sabre150 wrote:
AccadSoft wrote:
please guys I need an answer.To get answers about using iText I use "iText In Action, 2nd edition" by the prime author of iText - Bruno Lowagie.Classic way to make money - make the API free and sell the documentation. Also an honorable way to make money IMO.I was using iText before 2004 when the first edition of the book came out ( 4 years or so after the library was first introduced) and it was hard work. PDF is a very complex document format and just using the Javadoc does not really get you anywhere. There are many 'gotchas' in iText and most of the iText tutorials cover only the very basics and pretty much none of the 'gochas'. The book starts off with very simple examples that could be constructed from the Javadoc but then it does move on to the more complex issues. Worth every penny. -
Font issue: Arabic Transparent/Bold
I initially posted this comment here: http://forums.adobe.com/thread/773857?tstart=0 (in the wrong forum) so I'm reposting it here:
In December 2010, I was not having problems pdf'ing an MS Word document with Arabic Transparent and Arabic Transparent Bold (a Microsoft font) in it. This week, I'm getting the following error message:
%%[ ProductName: Distiller ]%%
%%[ Error: ArabicTransparent-Bold cannot be embedded because of licensing restrictions. ]%%
%%[ Font vendor (Glyf) does not permit this font to be embedded in PDF. ]%%
[Warning] The font ArabicTransparent-Bold could not be embedded because of licensing restrictions.
Text may display incorrectly on platforms that do not have this font installed.
%%[ Error: invalidfont; OffendingCommand: xshow; ErrorInfo: CharOffsets [1]xJ%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%
FYI, I'm using Adobe Acrobat 9 (I aslo have Adobe Design Premium CS4), Microsoft Word 2007, and Windows XP Professional (version 2002, service pack 3).
Has there been a recent change to the licensing restrictions of this font? If licensing is not the issue, what is the issue and does anyone know of a fix?
Thanks.It may be a corrupt font. Our IT group is looking into it. When I change the font to Arial, it pdfs fine.
I tried typing the font directly into InDesign (even though Arabic text does not render correctly unless you're using InDesign ME) and then pdf'ing it. I got the same kind of error message about licensing:
"This font could not be embedded due to licensing restrictions in the font..."
InDesign ended up replacing the font with another one that looks similar. If our IT group fixes this, I'll post the solution. Until then, I'd appreciate all the suggestions/ideas you (and others) have. Thanks.
Message was edited by: jshamoomarx -
Hello,
I'm having problems getting Arabic text to display correctly in the MHP set-top boxes. I have uploaded a .pfr file converted from Arial and the characters are displayed, but they are not connected and the text direction is left-to-right instead of right-to-left.
Any idea what could be wrong? This has been tried in ADB and Philips Silver Box.
Thanks in advanceThe most likely cause here is missing locales. Only the English locale is required on an MHP receiver - all of the other locales from Java are optional, for space reasons. Since the STB just has the basic locale, it won't do anything smart with the font. To the STB, it's just another font to be displayed using the standard locale until you tell the STB otherwise, and I'm not sure if you can do this if the locale isn't included in the middleware.
The only why round this is to check with ADB or Philips whether they could provide you with the appropriate locale for their STB.
Steve. -
How to print Arabic text along with the English in smartform ( ECC6 version
Hi All,
our is ECC6 version, Non unicode, ABAP stack ( not dual stack )
is it possible to print in Arabic language in the above version ?
if yes, then please let me know how to print Arabic text and English text in the same smartfrom.
i tried in the following procedures :
1) i created standard text (SO10) in arabic language.
i called in the smartform ( include text - i )
langage AR
but system throws error message saying, required language is not installed.
2) if i use READ_TEXT function module.
text getting printed in diff format but not in arabic.
waiting for your replies..ECC6 and Non-Unicode? I think you'll need multiple code pages, I doubt there's a mixed Arabic/Latin1 available. And I don't think SAP supports new MDMP systems any more. If you need to support multiple languages you really need to go Unicode. It's probably easier to do the Unicode conversion than to try to support multiple code pages and you have to make the switch eventually.
-
Support for Arabic text and Direction:rtl
I am using HTML/CSS/Javascript to develop my application.
I have been trying to get direction:rtl (right to left) to
work to display Arabic text in the right form with no luck.
Does Adobe AIR lack the support for this feature ? If so,
what are the alternatives to Adobe AIR ??
I hope one of the Adobe employees reply to this....> Any update on the Arabic support in Air ??
http://labs.adobe.com/technologies/textlayout/
"Bidirectional text, vertical text and over 30 writing
systems including Arabic, Hebrew, Chinese, Japanese, Korean, Thai,
Lao, the major writing systems of India, and others.
Selection, editing and flowing text across multiple columns
and linked containers, and around inline images" -
Any one suffering from the same issue?
I use to write text RTL(right to left) written languages like Arabic and Hebrew in Photoshop, where after copy and paste the text in Premiere to get the job done. With the latest version of Adobe cc 2014 I can't copy and past any text in to Premiere from Photoshop any more, not even text written in latin. Any one has the same problem or work around this issue possibly. It still works fine to copy/paste arabic text written on Photoshop in to After Effects, but Premiere pro 2014 when you paste any text.
I'm sure this forum works as feedback for Adobe in general and my question is:
- Does adobe have any intention in the future to implement RTL text writing in Adobe CC or not? Could any one please answer this question from ADOBE?
As media consultant I can only recommend for my clients using RTL to use Apple FCP X which has built in RTL support and a new way of editing and greater workflow.Hi Vince,
vince_email wrote:
...The only things that changed were an update to Yosemite, I started using Time Machine to make regular backups...
Please check this blog post. Updating from Time Machine can cause this issue: Premiere Pro CC, CC 2014, or 2014.1 freezing on startup or crashing while working (Mac OS X 10.9, and later).
Thanks,
Kevin -
Safari not rendering Arabic text correctly
I have Safari 1.0.3 running on Mac OS 10.2.8 and it will not render Arabic text correctly. Isolated letters appear at about half the correct size, which makes pages readable but only with considerable difficulty and annoyance.
I saw some solutions here that related to removing Microsoft fonts, but I removed all fonts from Home:Library:Fonts and quite and restarted Safari, and the problem persists. I also downloaded Firefox 2.0 and the same issue occurs - with the added feature that the tab titles on Firefox also display this anomaly, whereas tab titles on Safari render Arabic correctly.
And by the way, if this issue can be resolved, can safari and other apps be got to use a font other than the extremely ugly and hard-to-read default?
iMac Mac OS X (10.2.x)Thanks Tom. The problem though is not that letters
that are meant to be connected are coming out
isolated; letters that are meant to be isolated, e.g.
initial alif, waw, ra and final letters after alif,
waw ra, are displaying way too small.
Sorry I misunderstood the problem.
Do you think it is worth trying your troubleshooting
tip no. 18? And do you have any idea what sort of
issue could be behind it that it would affect Firefox
too?
Yes, you may as well try no. 18. That tip, which really has no logic to it, reflects the fact that voodoo is sometimes required to get Jaguar to display Arabic correctly in browsers. Panther was a tremendous improvement in that regard. -
Can I embed Arabic text in flash?
1. If so, how can I do this? When I cut and paste an arabic
text from a notepad or photoshop, all the characters comes out
wrong.
2. I believe I can use an external txt or xml file instead.
But if I do this, would the user be able to get the right
characters / fonts if they don't have the arabic fonts on their
machines?
thanks in advance.About embedding font outlines:
Let's say I want to use a decorative font - call it
"Lithograph" (one I commonly use) - to type the word "HELLO" in my
Flash movie. Flash will embed the outlines of the actual shapes of
the Lithograph characters H E L and O into the SWF. It treats them
as actual outlines, not as fonts. That way, even if you don't have
Lithograph on your system, you will still see "HELLO" in my SWF,
formatted as Lithograph font. This applies to Static Text only. It
is done automatically. You do not need to physically embed the font
yourself. You do not need to convert the letters to shapes.
Therefore I am GUESSING that the same thing happens when you
use Arabic: Flash will embed the shapes of those Arabic letters. So
the end user does not need to have Arabic on their system. Again,
this applies only to Static Text, not Dynamic or Input text.
To see whether this is happening, generate a Size Report (in
the Publish settings), open the Size Report text file, and scroll
down close to the bottom: it will tell you exactly which letters
are embedded in the file. -
Hi
I have indesign cs6 version 8.0.2. I would like to know how I can have a document that has arabic and english text. As when i copy and paste my arabic text into a text window, with the correct font selected (adobe arabic), it does not work. Do I need to download a specific plug in? do I need the Middle east version of Indesign?
Please can someone help. Its for a brochure that is in arabic and english in teh same file.
Thanks a lotHi,
Please select all the Arabic text in InDesign and either go to Paragraph Palette flyout menu or Control panel fly out menu. You'll find a host of composers. Please select Adobe World-Ready Paragraph Composer instead of Adobe Paragraph Composer. And your Arabic texts will work.
You don't need to download a specific plug in. Ideally, You should need Middle east version of InDesign to get other design related ME features.
Thanks,
Irfan -
Importing Arabic text from an XML file
Importing text from an XML file to appear as text in Flash
works in English, however if the text I want to import is in
Arabic, when I test the movie there is no text at all.
Is there some particular syntax to preface the Arabic text?
I'll want to import text from XML in other languages too.
(French)
I'd cut and pasted some Arabic text into the XML file that
displays pictures and text in the "slideshow.fla" (
http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
Substituting Arabic text for English text, editing the XML
file with Dreamweaver.
Any ideas as to how I might achieve my objective of importing
Arabic text into Fash?
I'd started developing my prototpe in Macromedia Director 7,
and then Director MX, but I have not found a suitable Arabic font
that I can embed that will allow me to display Arabic fonts in
Adobe Director. I have the Arabic text in a Word document.
I've dicovered that my Flash MX Pro and Dreamweaver both
support Arabic fonts, but I want to import text from an XML file.
I'd prefer using cast libraries and cast members, but I don't
know of an equivalent in Flash to what I'm comfortable with in
Director.Oh so many questions. You probably aren't going to like the
answers. I have Flash MX04 pro (aka Flash 7) and things made a big
jump between MX (aka 6) and MX04. If you only have MX, there might
not be a way to do this. All my advice is based upon MX04 or
higher.
It is possible to do complex languages in Flash. My
experience is with Hindi and I've helped a few folks here with
Arabic.
You won't be able to use text from Microsoft Word – at
least I don't think so. The XML file will need to be saved in the
UTF-8 format. I think Word uses its own scheme and won't work. But
I'm not a Word expert. Something like Text Edit (Mac) or WordPad
(PC) should be able to save a UTF-8 file.
The next problem is you mention "suitable Arabic font that I
can embed." AFAIK, you can't embed any of the complex scripts in
Flash. You just have to rely on the end user having appropriate
fonts installed and enabled. Most operating systems from 2000 on do
have this – although some folks like to remove them to save
space.
Next issue will be line composing. I've found that when using
anything above the normal Latin range that Flash suddenly forgets
how to make a line fit into a text area. It will just break things
in the middle of words and not even notice the spaces between
words. I've written a little snippet of code that "composes" the
lines. It works well with Hindi and folks here have used it with
Arabic and not come back saying that it doesn't work. Search the
forums (both the Flash and Actionscript) if you can't find it I'll
dig it out when I get home.
So here is the checklist:
Make sure the XML is saved in UTF-8
Import the XML file
In Testing environment go Debug–>List variables.
Does it show up correctly there?
Does it show at all in a text field?
Use the "composer" to make the lines break. -
Arabic text in excel attachment in mail
my requirement is to mail the excel file so I used the internal table
to create an excel and used FM SO_NEW_DOCUMENT_ATT_SEND_API1, While the
excel file is created but however the arabic is not downloaded
correctly. It is downloaded with junk characters.
CONSTANTS:y_k_con_tab TYPE c VALUE
cl_abap_char_utilities=>horizontal_tab,
y_k_con_cret TYPE c VALUE
cl_abap_char_utilities=>cr_lf.
LOOP AT lt_output INTO ls_output.
MOVE ls_output-zdate_changed TO lv_datechanged.
MOVE ls_output-zdate_created TO lv_datecreated.
CONCATENATE ''''
lv_datechanged
INTO lv_datechanged.
CONCATENATE ''''
lv_datecreated
INTO lv_datecreated.
*Concatenate text fields to send the email in the r=uired format.
CONCATENATE ls_output-zexcess
ls_output-zbranch
ls_output-znotes
ls_output-zstatus
lv_datechanged
ls_output-zdate_changed
ls_output-zemp_changed
ls_output-zinitial_status
lv_datecreated
ls_output-zdate_created
ls_output-zemp_created
ls_output-zproduct_name
ls_output-zministry_name
ls_output-zentity_name
ls_output-zposting_date
ls_output-zservice_id
INTO y_wa_htop_new SEPARATED BY y_k_con_tab .
CONCATENATE y_k_con_cret
y_wa_htop_new
INTO y_wa_htop_new .
APPEND y_wa_htop_new TO y_i_htop_new.
CLEAR: y_wa_htop_new.
ENDLOOP.
*ENDLOOP.
i_attachment] = y_i_htop_new[.
SUBJECT OF THE MAIL.
w_document_data-obj_name = 'MAIL_TO_HEAD'.
w_document_data-obj_descr = text-001.
BODY OF THE MAIL
w_body_msg = text-002.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
w_body_msg = space.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
w_body_msg = text-003.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
w_body_msg = space.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
w_body_msg = text-004.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
w_body_msg = space.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
w_body_msg = text-005.
APPEND w_body_msg TO i_body_msg.
CLEAR w_body_msg.
WRITE PACKING LIST FOR BODY
DESCRIBE TABLE i_body_msg LINES g_tab_lines.
*describe table i_attachment lines g_tab_lines.
w_packing_list-head_start = 1.
w_packing_list-head_num = 0.
w_packing_list-body_start = 1.
w_packing_list-body_num = g_tab_lines.
w_packing_list-doc_type = 'RAW'.
APPEND w_packing_list TO i_packing_list.
CLEAR w_packing_list.
WRITE PACKING LIST FOR ATTACHMENT
w_packing_list-transf_bin = 'X'.
w_packing_list-head_start = 1.
w_packing_list-head_num = 1.
w_packing_list-body_start = 1.
DESCRIBE TABLE i_attachment LINES w_packing_list-body_num.
w_packing_list-doc_type = 'XLS'.
w_packing_list-obj_descr = 'Service_Details'.
w_packing_list-obj_name = 'Service_Details'.
w_packing_list-OBJ_LANGU = 'A'.
w_packing_list-doc_size = w_packing_list-body_num * 255.
APPEND w_packing_list TO i_packing_list.
CLEAR w_packing_list.
FILL THE DOCUMENT DATA &GET SIZE OF ATTACHMENT
w_document_data-obj_langu = sy-langu.
READ TABLE i_attachment INTO w_attachment INDEX g_tab_lines.
w_document_data-doc_size = ( g_tab_lines - 1 ) * 255 + STRLEN(
w_attachment ).
RECEIVERS LIST.
w_receivers-rec_type = 'U'. "Internet address
w_receivers-receiver = y_lv_emailid.
w_receivers-com_type = 'INT'.
w_receivers-notif_del = 'X'.
w_receivers-notif_ndel = 'X'.
APPEND w_receivers TO i_receivers .
CLEAR:w_receivers.
SEND MAILS TO RECIPIENTS
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_document_data
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
sent_to_all = g_sent_to_all
TABLES
packing_list = i_packing_list
contents_bin = i_attachment
contents_txt = i_body_msg
receivers = i_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc = 0 .
*MESSAGE s WITH 'Mail has been Successfully Sent.'.
ENDIF.
Kindly suggest how will I get arabic downloaded and sent as attachment
in email. Can I write a file to application server and send that
particular file as attachement? Can I use BCS class for mailing excel
file? Will it support arabic text?with Excel it is always a good idea to encode your data in UTF-16 LE.
to do so, take your internal table in SOLI format and call
CL_BCS_CONVERT=>TXT_TO_SOLIX
with iv_codepage = 4103 and iv_add_bom = 'X'.
you will get a binary table SOLIX as a result and just have to attach it to your message
Maybe you are looking for
-
Is Product key required in Updating from Windows 8 Single Language to Windows 8.1
Hello, I have bought Lenovo laptop with Windows 8 Single Language recently and it's showing the Windows 8.1 update is available. My doubt in this regard is, While installing will is asks for product key or not.? And whether the preinstalled apps like
-
Optical Drive dead - what external CD/DVD will work?
My three year old white 13" Macbook has a dead optical drive after I dropped it last month. Which external drive will work, especially if I want to do a full restore from the external drive? Thanks much! Zake
-
My iPhone got stolen - can I back up that phone's data on another iPhone from iTunes backup?
Details: My iPhone 4 was stolen and I activated Lost Mode on iCloud. A lot of time has passed and I've given up the chance of getting it back. My question is this. I'm trying to back up a new iPhone with my old phones data that I saved on iTunes back
-
There are unsynced songs in my library, how do I get them on my device?
We had a problem with this library and had to delete it and open it in a new location. It works great now, all of the songs appear in the library, they all play on the computer, but they will not sync to an iphone or ipad. None of them have exclama
-
Sending files through Hyperterminal to the Virtex-5 with OpenSPARC T1?
Hello everybody, I would like to ask you where can I find some information about using Hyperterminal (or any other telnet application suggested) to send a file to the FPGA device once the OpenSPARC T1 is already loaded. The aim is to show the differe