Sorry, sorry, I had some wrong conclusions. From javaS code and I generate thr svg file bellow. Diacritical marks (like Č) are displays correctly in a JSVGCanvas but the printer don't print correctlly.
p.s. I print 2DGraphics "in a classic java API way" but it was to slow and too heavy, from the memory aspect, so I red somewhere that the printing svg file is finally solution for a printing graphics in java. So I decided tto tried to generate svg file from java 2DGraphics (like this bellow) and printed it. What do you think about the idea ? Sorry about the english, if it is hard to understand me. <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'> <svg stroke-dasharray="none" shape-rendering="auto" xmlns="http://www.w3.org/2000/svg" xml:base="" font-family="'Dialog'" width="1261" text-rendering="auto" fill-opacity="1" contentScriptType="text/ecmascript" color-rendering="auto" color-interpolation="auto" preserveAspectRatio="xMidYMid meet" font-size="12" fill="black" xmlns:xlink="http://www.w3.org/1999/xlink" stroke="black" image-rendering="auto" stroke-miterlimit="10" zoomAndPan="magnify" version="1.0" stroke-linecap="square" stroke-linejoin="miter" contentStyleType="text/css" font-style="normal" height="1074" stroke-width="1" stroke-dashoffset="0" font-weight="normal" stroke-opacity="1"> <!--Generated by the Batik Graphics2D SVG Generator--> <defs id="genericDefs"/> <g> <defs id="defs1"> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath1"> <path d="M0 0 L190 0 L190 1037 L0 1037 L0 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath2"> <path d="M0 0 L0 17 L93 17 L93 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath3"> <path d="M0 0 L0 17 L47 17 L47 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath4"> <path d="M0 0 L0 17 L106 17 L106 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath5"> <path d="M0 0 L0 17 L57 17 L57 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath6"> <path d="M0 0 L0 17 L130 17 L130 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath7"> <path d="M0 0 L0 17 L67 17 L67 0 Z"/> </clipPath> <clipPath clipPathUnits="userSpaceOnUse" id="clipPath8"> ... <rect x="1261" y="1" transform="translate(820,126)" fill="blue" width="1" height="14" stroke="none"/> <text x="1180" font-size="9" y="12" transform="translate(820,126)" fill="blue" stroke="none" xml:space="preserve">2008 godina</text><line transform="translate(820,126)" fill="none" x1="0" x2="1261" y1="45" y2="45" stroke="blue"/> </g> </g> </svg> -- View this message in context: http://www.nabble.com/Diacritical-marks-in-batik-t1532176.html#a4196572 Sent from the Batik - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
