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

Joao Goncalves edited comment on FOP-3306 at 7/15/26 5:29 PM:
--------------------------------------------------------------

-It's not possible to change the character when using a rule. I thought it was 
possible, but upon looking at the code again, I can see it's not.- The size and 
spacing can be changed using rule-thickness and leader-pattern-width.

Edit: it's actually possible to have a square, but it requires a FOP change. 
I'll raise a new ticket for the improvement


was (Author: JIRAUSER302961):
It's not possible to change the character when using a rule. I thought it was 
possible, but upon looking at the code again, I can see it's not. The size and 
spacing can be changed using rule-thickness and leader-pattern-width.

> Multiple Artifacts for fo:leader dots in the accessible PDF
> -----------------------------------------------------------
>
>                 Key: FOP-3306
>                 URL: https://issues.apache.org/jira/browse/FOP-3306
>             Project: FOP
>          Issue Type: Improvement
>            Reporter: Alexander Dyuzhev
>            Assignee: Joao Goncalves
>            Priority: Major
>         Attachments: fop.xconf, image-2026-07-08-22-43-55-471.png, test.fo, 
> test.pdf, test_2026-05-29.fo, test_2026-05-29.pdf
>
>
> I have a simple XSL-FO with \{{<fo:leader leader-pattern="dots"/>}}.
> In the generated PDF, each dot is individually marked as Artifact:
> {code:java}
>     EMC
>     /Link << /MCID 1 >> BDC
>       BT
>         /F1 12 Tf
>         1 0 0 -1 0 24.666 Tm
>         [ (Introduction ) -115.6667 () ] TJ
>       ET
>     EMC
>     /Artifact BMC
>       BT
>         /F1 12 Tf
>         1 0 0 -1 67.424 24.666 Tm
>         [ (.) ] TJ
>       ET
>     EMC
>     /Artifact BMC
>       BT
>         /F1 12 Tf
>         1 0 0 -1 70.76 24.666 Tm
>         [ (.) ] TJ
>       ET
>     EMC
>     /Artifact BMC
>       BT
>         /F1 12 Tf
>         1 0 0 -1 74.096 24.666 Tm
>         [ (.) ] TJ
>       ET
>     EMC
>     /Artifact BMC
>       BT
>         /F1 12 Tf
>         1 0 0 -1 77.432 24.666 Tm
>         [ (.) ] TJ
>       ET
>     EMC
>     /Artifact BMC
> ...{code}
> (I use PDFBox's PDFDebugger tool)
>  
> How to mark the entire run of dots as a single artifact?
> {code:java}
>     /Artifact BMC
>       BT
>         /F1 12 Tf
>         1 0 0 -1 410.67 24.666 Tm
>         [ (..................) ] TJ
>       ET
>     EMC{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to