Using cyrillic characters in cfdocument

Hi,
I'm currently developing on a CF8 single installation on a RedHat AS 4 machine using apache.
I have a multilingual web app that requires the on the fly creation of .pdf files, and those .pdf files require some if not all of their content to be presentable in languages using Cyrillic characters. I have all this working and it's very efficient, except for 1 problem.
The only way I can get the cyrillic characters to be correctly included in the .pdf is to take for example the Arial.ttf font from a WinXP box and install it in the CF fonts directory: /opt/coldfusion8/runtime/jre/lib/fonts, by default there are only 5 versions of the Lucinda font.
So my question is, seeing as I don't think I can use the MS Arial.ttf, since TrueType fonts are under MS trademark, is there a solution to this using any free fonts? It would be much better if I could find a solution using a single font supporting unicode that can display such languages as Macedonian, Russian and Polish, as well as th Sinitic languages, (I know the syntax is different, but it would be nice to have the option)
Hope someone can help!
Thanks,
Ash

it used to be if you bought ms office international edition you got ms arial
unicode font too. now i think it's $99 per 5 users (though no longer available
from ms, ascender licenses it now i think). have you tried www.sil.org? also
http://unicode.org/resources/fonts.html has some listed, make sure to checkout
what alan wood has on offer.

Similar Messages

  • Flash chart doesn't display cyrillic characters

    Hi !
    Please give me you advise to solve my problem...
    I tried to write X-axis labels on 2D-column chart using Cyrillic characters.
    If I set "Labels Rotation" to a value more than 0 chart does not display labels. If labels consists of Cyrillic and Latin characters then only Latin characters are displayed.
    Please help me to resolve this issue.
    Best regards,
    Renat.

    That is possible.
    The rotation functionality within html, if I understand it correctly, actually generates a graphic and rotates that rather than rotates the individual characters. It could be that this functionality just isn't designed for the characters you need.
    This may be something you need to research on Adobe's website?
    Andy

  • Cyrillic characters from MySQL not displaying correctly

    I have a flash file that has a dynamic text link which is taking the data from a MySQL database.  Everything is fine when it is receiving standard characters, but when I try to use Cyrillic characters I just get ???? instead.
    I've tried setting the collation to everything from windows 1251 to UTF8 (and variants).  I've also tried setting the text link to fonts ranging from Arial to Arial CYR, Verdana etc and even embedding the char sets into the file.
    Nothing seems to be working - does anyone have any ideas about what I can do?
    Thanks!!

    .oO(Daniel Sofer)
    >I have a static site in Japanese that is working fine in
    Dreamweaver. I'm
    >trying to add a database connection with php/mysql, but
    the connection between
    >my page and the database is garbling the text (moji bake)
    in both directions.
    You also have to define the connection character set, so the
    data will
    be transfered correctly.
    10.4. Connection Character Sets and Collations
    http://dev.mysql.com/doc/refman/5.0/en/charset-connection.html
    I do this by sending a
    SET NAMES 'utf8'
    to the database right after establishing the connection.
    Additionally
    your server has to send the correct charset parameter to the
    browser.
    In PHP you can achieve this with a header() call:
    header('Content-type: text/html; charset=UTF-8');
    HTH
    Micha

  • Cyrillic characters!

    When I use cyrillic characters in the JTextPane evrything is all right. Problem appears when I want to save text on the disk using FileWriter. When I open saved file I get notes of interrogation (????????) instead of Cyrillic characters.

    Because they were lost when you saved to file in default encoding, which likely was ASCII. Use UTF-8 when save.
    BufferedWriter out = new BufferedWriter(
                       new OutputStreamWriter(new FileOutputStream(file), encoding)); // where encoding should be UTF8Remember to open the file using UTF8 also.

  • Cyrillic characters in email from discussions

    Hi.
    I'm subscribed to a particular topic, and I've been receiving the usual emails for each new posting. These have been fine except for this one: http://discussions.apple.com/thread.jspa?messageID=9346909#9346909
    The email didn't show the message in the usual font, but instead displayed it in Cyrillic (Russian) characters, yet as you can see, the posting is in perfectly normal English.
    Anyone know what's going on?
    Bob

    The OP apologizes for his poor English, perhaps the original post was made in a language that uses Cyrillic characters and then translated or revised?

  • Keyboard w/cyrillic characters

    Hi,
    Currently I have a virtual keyboard I create for a touchscreen application. For one of our clients I need to be able to display Cyrillic.
    But when I use Cyrillic characters in String[] that populates the array of buttons I get different characters.
    I use font Ariel, which I know supports Cyrillic.
    And I use "String s = e.getActionCommand()" to read the key selected.
    Now as I write this I'm thinking maybe I should be using chars.
    Any thoughts on this.
    Thanks
    Jim

    It's not clear how exactly you are 'use Cyrillic characters in String[]'. Can you show some source?

  • We would like to use cyrilic language characters in ECC system with custome

    We would like to use cyrilic language characters in ECC system with "customer reserve" language (Z1).
    We have positive experience on  one system for certain business partner in Macedonia (there is no Macedonian language to install as SAP standard) by using "customer reserve" language (Z1).
    Now we are about to introduce other system with same approach. The trouble is that after entering Macedonian language on an cost center with language Z1 on first language  and transfering it via idoc we get hashes("#") instead of characters on second language
    What could be the reason? I suplemented with english (as on the first system where everything is ok)  the "Customer reserve"(Z1)  language normaly(with default settings).
    On first system this was not done by me.
    Should supplementation be done specificly?.(how to find settings for supplemention on first system?)
    Please give me a hint

    Hi,
    To check supplement language go to T-code, SMLT ->Language ->Special actions->Supplementaion
    you can get more information from below SDN thread.
    Cyrilic char not coming properly
    Below SAP help document gives you how to find supplement language & installation of languaes.
    http://help.sap.com/saphelp_nw70/helpdata/en/a3/30ad5296b511d384bb0060975b04f3/content.htm
    Regards
    Nagaraju

  • Uploading cyrillic characters using XLIFF

    Hi!
    We would like to have a multilingual application including some non-latin character sets like chinese and russian character sets.
    We have translated from the primary language English (us-en) to French (fr), German (de) and Italian (it) without any problem.
    Uploading XLIFF with cyrillic characters was also accepted by HTML DB (and we just put cyrillic characters as the XML header stated it was supporting UTF8) but as soon as we try to run the application in Russian, all characters are replaced by "reversed question marks" symbols...
    Any idea why? Have we missed something? Have we done something wrong?
    Thanks in advance for help!
    François BRIARD
    CERN - European Lab for Particle Physics
    "Where the web was born"

    François,
    Sorry, but nothing comes to mind how you could achieve this.
    The customer uploads a file encoded in UTF-8, it is then converted in the database from UTF-8 to the database character set, and then applied to the translation repository for your application. It is that second step of the process where the conversion is taking place, and utlimately failing for your Cyrillic characters.
    An alter session won't buy you anything. It's ultimately an issue with your current database character set not being able to support the Cyrillic characters.
    I can ask around, but at this time, nothing comes to mind.
    Joel

  • How Do you use Cyrillic Fonts (Russian) in InDesign CS4 or CS3

    I have a headline in Russian a client sent me in an e-mail that I need to use on a poster I'm laying out in InDesign.
    I downloaded ERUniverse cyrillic font, and when I paste the Russian headline in a text box and go to select ERUniverse cyrillic, there's no Russian!
    Also, I go down to the bottom of my fonts there's Hebrew, Japanesse, Chinese fonts, etc...but no Russian.
    Please help with instructions on how to use a cyrillic font!!!

    I downloaded ERUniverse cyrillic font, and when I paste the Russian headline in a text box and go to select ERUniverse cyrillic, there's no Russian!
    That font must not be Unicode enabled. An old hack to insert Cyrillic characters into a regular font was to replace "unused" characters with Cyrillic ones. So, to type a 'de' д, you would insert the character code for an 'ê'.
    Modern fonts are Unicode enabled, which simply means that in every font Cyrillic characters are found in the same place. Thus, changing the font does not change the text.
    If you are working on Windows, check the Character Map for fonts that support Cyrillic. Select 'Advanced view', Character set: Unicode, Group by: Unicode Subrange. A small window pops up, enumerating all possible Unicode groups. Scroll down and select 'Cyrillic'. Now the character map will only show these characters for each font, so simply scroll through your font list to see which one have them.
    (And OSX no doubt has a similar feature.)
    The older Windows system fonts Times New Roman, Arial, Georgia, Verdana, and the newer ones Calibri, Cambria, and Candara, and lots of the fonts that came with your InDesign installation support Cyrillic (at least Minion Pro and Myriad Pro do).
    It's also possible the original text has not been typed using a Unicode font. If you need a quick check, select some of the text and select the font Arial Unicode (on a Mac, I think "LastResort" will do). If you see useful text, you're okay to go. If not, you have a huge problem. You will have to find the exact font that was used in the original document and use that, or use Find and Replace to change each character to the actual Cyrillic one (and you will need a hardcopy before you can do that).

  • Report Generation Toolkit using Chinese Characters

    I am trying to use the Report Generation Toolkit for Microsoft Office under LabVIEW 8.0.  I would like to use Chinese characters for the headings of the columns using a 2D array of the headings and the Excel Easy Table.  When I generate the report, the text of the headings appears to be jumbled and not encoding correctly.
    For example:
    仪器编号 becomes êNhV÷S
    采前初重(g) becomes Ç‘MRRÍ‘ÿg
    Any insights here? Thanks

    Hi,
    what you describe reminded me of a bug fix in the Report Generation Toolkit 2012 :
    339092
    Using the "Append Table to Report" VI to add strings of Cyrillic font to a table in an MS Word report results in gibberish being added to the report.
    http://digital.ni.com/public.nsf/allkb/09D6DE5170B3C0BD86257A2B004CFD20
    I know that Cyrillic and Chinese characters are different but they are often confronted to the same problems...
    Aurelie

  • Cyrillic Characters not shown in pdf file when xsl is parsed

    Part of the application we have created allows the user to view PDF pages, so they are more suitable for printing.
    We create xsl files which eventually get transformed into the PDF format.
    We use the javax.xml.Transform.Transformer to transform the xsl file and xml.
    We use the org.exolab.castor.xml.Marshallerto general the xml.
    We use Apache Fop to turn the XML into the PDF format.
    Before it was working fine, we get some text from a resource file, which we call in the xsl. But now we want to do this in Russian. When we read the same resource file in the xsl, but with the cyrillic characters in it, the pdf view is just question marks, and other characters. Nothing russian.
    Does anyone know where I could start looking to find out what is wrong?

    just generate the font metrics files for the fonts you intend to use, as explained on FOP web site, then you will get the Cyrillic chars.

  • Cyrillic Characters not shown in pdf file when xsl is parsed part 2:

    I am using Fop to create a pdf file from an XSL file, an XML file and a ApplicationResources.properties file.
    The XML file is populated by a Java class, where the information is taken from a Russian Database. This XML file is them used to populate the XSL file.
    The ApplicationResources.properties file, is in windows 1251 format, as we converted it using NativeToAscii converter.
    I downloaded a cyrillic ttf file, and created a metrics file, according to the Fop website. And I had Russian appearing on my PDF from the database (not ApplicationResources.properties file though). However, the information which we were retrieving from the database would not display on the jsp pages which are part of the same application.
    To fix this, we changed our database driver from a ODBC-JDBC driver, to an oracle thin type 4 driver.
    Since this happened, my cyrillic characters no longer appear on my PDF file.
    I know that the information from the database comes back in windows 1251 format, so I tried to put the
    <?xml version="1.0" encoding="windows-1251"?>
    and
    <?xml version="1.0" encoding="Cp1251"?>
    but when I do this, I get the following error in my log file:
    L2|14:14:58:433|ExecuteThread-9|PDFService.generatePDF: class com.petrotechnics.skyobma.service.SkyobmaServiceException Exception :javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The encoding "Cp1251" is not supported.
    or the windows-1251 is not supported.
    I do not know what to do at all, I am really struggling and was wondering if anyone had any idea about where I can go from here, or even if someone can just tell me I am fighting a loosing battle I would be happy.
    Yours Truly Hopefully,
    Gillian Daniel

    either you configure FOP to use a SAX Parser that supports Cp1251 or you encode your XML data to UTF-8.
    we flawlessly generate Greek PDF documents out of data selected from Oracle 8.1 by using UTF-8.

  • Cyrillic characters issue in ABAP mapping

    Hello Experts,
    I am using ABAP mapping program to convert IDOC XML to flat file. Further i am using FIle adapter to write this file on FTP server.
    My problem is:
    When Idoc contains CYRILLIC characters in payload, then these characters appear as "#" after the mapping has executed.
    If I check in SXMB_MONI in XI, the inbound payload displays data correctly. In "Request Message mapping" node, if I check the output of ABAP mapping program, then cyrillic characters are replaced with "#". The same "#" is then written to File.
    Do you have any idea, how do i deal with this problem.
    NOTE: I tried passing encoding type = UTF-8 to the function - SCMS_STRING_TO_XSTRING which is used the mapping program to set the encoding type, but it did not work.

    @PI Expert: I tried to debug the ABAP mapping using SXI_MAPPING_TEST transaction, however when I paste my payload in the editor, the cyrillic characters appear as junk characters. Due to this, in the output, these junk characters are appear as "#"
    @Sarvesh: I too initially thought that this could be problem with AL11, that it is not displaying the data correctly. However when I checked the "Request Message Mapping" node in SXMB_MONI, it showed "#" characters. Also the .csv file generated contains "#" only.
    Thanks for your time and response.

  • Smartform with Cyrillic characters

    I have a smartform with Russian characters that works fine when using the font courcyr, but when using timecyr I get '#' in place of the cyrillic characters. I have no problem using the timecyr with sapscript, but the only way I can print cyrillic characters in a smartform is with courcyr and I want to use timecyr. Do smartforms use a different set of fonts than sapscript? Any ideas?
    Thanks
    Craig

    The language of the sapscript might be russian and smartform is not translated to russian.
    If you are using message control for printing, make sure the output issued in the language you are trying to print.
    Regards
    Sridhar

  • How to display cyrillic characters in a PDF

    I am fairly green in terms of representing text in PDF documents and need some assistance. My main question is how do I represent Cyrillic characters in PDF files.
    I know the basics of how to represent text in PDF files and the PostScript commands to use. I know that bytes written to the file in the range of 0 to 255 will print correctly when using the correct encoding (we are using the WinAnsiEncoding). What I cannot seem to figure out is how to represent extended character sets and different glyphs (such as those used in the Cyrillic alphabet) in a PDF file. Do I need to use CID fonts and CMaps?
    Here is an example of the text I understand how to print:
    stream
    0.00000000 0.00000000 0.00000000 RG
    0.00000000 0.00000000 0.00000000 rg
    BT
    /Helvetica 14 Tf
    7.2 768.96 Td
    (Hello World!) Tj
    ET
    endstream
    I'm really not clear on how to represent any of the Chinese or Japanese fonts either, so really any help here is appreciated. Any examples are appreciated as well.
    Thanks!

    You don't need to use CIDFonts and CMaps for Cyrillic (though you can). The crucial thing to realise is that displaying Latin1 (that is, English and related text) leaves you in a very simple corner of PDF. Doing anything with other encodings instantly makes a project more complex, perhaps 10 times more complex. Far eastern fonts perhaps 10 times more complex again.
    The principle is the same for all of them. To use any character you need
    1. A font containing that character. PDF has built in fonts containing Latin1, such as Helvetica, but there is no such luxury for other encodings.
    2. The right (license) to embed the font.
    3. The technical ability to embed the font. In many case this isn't just a case of embedding a file as a stream, but also you need to analyse the tables in the font, and sometimes trim or modify them.
    4. An encoding for the font.
    5. Text streams which use character positions in the encoding to show the text.
    Basically you need to read and read and reread the chapter on text, and its references (such as font formats). This will become your constant friend or tormenter for the many months of the project.
    If you don't like the sound of that, or it doesn't make ecomomic sense to do that, there are many PDF libraries which have taken the necessary months or years to do this.

Maybe you are looking for