-
I stumbled onto this conversation, where you mention how to get the debug trace from mutool, I could not make sense for most of attributes in the xml like the following is a sample <fill_text colorspace="DeviceRGB" color="1 1 1" matrix="1 0 0 -1 0 0">
<span font="AAAAAA+Arial" wmode="0" bidi="0" trm="8.95 0 0 8.95">
<g unicode="U+003c" glyph="1" x="90.65" y="-26.95"/>
<g unicode="s" glyph="2" x="95.8768" y="-26.95"/>
<g unicode="c" glyph="3" x="100.3518" y="-26.95"/>
<g unicode="r" glyph="4" x="104.8268" y="-26.95"/>
<g unicode="i" glyph="5" x="107.807147" y="-26.95"/>
<g unicode="p" glyph="6" x="109.794048" y="-26.95"/> |
Beta Was this translation helpful? Give feedback.
Answered by
JorjMcKie
Feb 19, 2021
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
mani2106
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
a
throughd
of the text matrix.a
=d
= 8.95 is the fontsize,b
=c
= 0 means no rotation in this case. The remaining matrix parameters,e
,f
are the positionsx
,y
of each glyph.