[ 
https://issues.apache.org/jira/browse/BATIK-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506672#comment-14506672
 ] 

Marcel commented on BATIK-993:
------------------------------

Hey, any news on this one? Is this on the roadmap or rejected?

Thanks!
Marcel

> Rasterizer does not consider text-transform css property with value 
> 'uppercase'
> -------------------------------------------------------------------------------
>
>                 Key: BATIK-993
>                 URL: https://issues.apache.org/jira/browse/BATIK-993
>             Project: Batik
>          Issue Type: Bug
>          Components: CSS
>    Affects Versions: 1.7
>         Environment: Operating System: All
> Platform: Macintosh
>            Reporter: Mathieu Renaud
>            Assignee: Batik Developer's Mailing list
>         Attachments: textRotate.png
>
>
> The rasterizer disregards the text-transform css property, whether it is in 
> inline style or referred to in an external stylesheet.
> To illustrate what I mean, I modified the "textRotate.svg" sample and added
> "text-transform:uppercase; text-decoration:underline" 
> in a referenced css stylesheet and in a style attribute. The text-decoration 
> works, but not the text-transform.
> I used the command:
> java -jar batik-rasterizer.jar samples/textRotate.svg
> using the provided textRotate.svg, test-mod.css
> the result is also provided in textRotate.png
> If someone can point me in the right direction, i'd be willing to attempt a 
> patch to add this, if acceptable.
> ----------------------------------------textRotate.svg----------------------------
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
> "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
> <!--
>    Licensed to the Apache Software Foundation (ASF) under one or more
>    contributor license agreements.  See the NOTICE file distributed with
>    this work for additional information regarding copyright ownership.
>    The ASF licenses this file to You under the Apache License, Version 2.0
>    (the "License"); you may not use this file except in compliance with
>    the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>    Unless required by applicable law or agreed to in writing, software
>    distributed under the License is distributed on an "AS IS" BASIS,
>    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>    See the License for the specific language governing permissions and
>    limitations under the License.
> -->
> <!-- 
> ========================================================================= -->
> <!-- Test description here                                                    
>  -->
> <!--                                                                          
>  -->
> <!-- @author bill.hane...@ireland.sun.com                                     
>  -->
> <!-- @version $Id: textRotate.svg 475477 2006-11-15 22:44:28Z cam $           
>                                                   -->
> <!-- 
> ========================================================================= -->
> <?xml-stylesheet type="text/css" href="./tests/resources/style/test.css" ?>
> <?xml-stylesheet type="text/css" href="./test-mod.css" ?>
> <svg xmlns="http://www.w3.org/2000/svg"; 
> xmlns:xlink="http://www.w3.org/1999/xlink"; width="450" height="500" 
> viewBox="0 0 450 500">
> <title>Text Rotation</title>
>     <!-- ============================================================= -->
>     <!-- Test content                                                  -->
>     <!-- ============================================================= -->
>     <defs>
>        <text x="0" y="0" transform="scale(1.6, 1.6)" fill="DarkSlateBlue" 
> text-anchor="middle" font-size="40" font-family="Serif" 
> id="words">batik</text>
>     </defs>
>     <g id="testContent">
>     <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" 
> style="text-transform:uppercase; text-decoration:underline;" >
>             Text Transformation</text>
>     <g opacity="1.0" transform="translate(225, 250)" id="rotatedText">
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     <g opacity="0.95"  transform="scale(1.05) rotate(15)">
>     <use xlink:href="#words"/>
>     </g></g></g></g></g>
>     </g></g></g></g></g>
>     </g></g></g></g></g>
>     </g></g></g></g></g>
>     </g></g></g></g>
>         <text style="font-size:75;font-family:Serif;fill:white" 
> text-anchor="middle">batik</text>
>     </g>
>     </g>
>     <!-- ============================================================= -->
>     <!-- Batik sample mark                                             -->
>     <!-- ============================================================= -->
>     <use xlink:href="batikLogo.svg#Batik_Tag_Box" />
>     
> </svg>
> ---------------------------------------test-mod.css-----------------------------
> text { text-transform: uppercase; text-decoration:underline; 
> font-style:italic;}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org

Reply via email to