You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Alexey Neyman (JIRA)" <ji...@apache.org> on 2013/10/30 01:24:26 UTC

[jira] [Comment Edited] (FOP-2308) text-transform="capitalize" assumes input text is lowercase

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

Alexey Neyman edited comment on FOP-2308 at 10/30/13 12:23 AM:
---------------------------------------------------------------

I don't use text-transform at this time. But, what would happen to already-capitalized acronyms in titles if titles are formatted with text-transform="capitalize"?

<fo:block text-transform="capitalize">Why don't we follow CSS?</fo:block> would become "Why Don't We Follow Css?", right?

Anyway I don't think it is a good idea to gratuitously deviate from the specification. Somebody may be expecting the behavior as described.


was (Author: stilor):
I don't use text-transform at this time. But, what would happen to already-capitalized acronyms in titles if titles are formatted with text-transform="capitalize"?

<fo:block text-transform="capitalize">Why don't we follow XSLT?</fo:block> would become "Why Don't We Follow Xslt?", right?

Anyway I don't think it is a good idea to gratuitously deviate from the specification. Somebody may be expecting the behavior as described.

> text-transform="capitalize" assumes input text is lowercase
> -----------------------------------------------------------
>
>                 Key: FOP-2308
>                 URL: https://issues.apache.org/jira/browse/FOP-2308
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Luis Bernardo
>             Fix For: trunk
>
>         Attachments: test.fo
>
>
> <fo:block text-transform="capitalize">CAPITALIZE</fo:block> should output Capitalize, not CAPITALIZE as it does currently.



--
This message was sent by Atlassian JIRA
(v6.1#6144)