speedata / publisher

speedata Publisher - a professional database Publishing system
https://www.speedata.de/
GNU Affero General Public License v3.0
293 stars 36 forks source link

Kern inserts hyperlink #461

Closed pgundlach closed 1 year ago

pgundlach commented 1 year ago

4.13.6

with fontloader=harfbuzz:

<Layout xmlns="urn:speedata.de:2009/publisher/en"
    xmlns:sd="urn:speedata:2009/publisher/functions/en">

    <Record element="data">

        <PlaceObject>
            <Textblock>
                <Paragraph>
                <Value>Va</Value>
                 </Paragraph>
            </Textblock>
        </PlaceObject>
    </Record>
</Layout>

adds pdf_start_link and pdf_end_link

└─VLIST dir: TLT
  ╚═head:
    ├─WHATSIT subtype: pdf_literal, mode: 1, data: data
    ├─VLIST 
    └─VLIST dir: TLT
      ╚═head:
        ├─GLUE width: 28.35pt
        └─HLIST width: 566.94pt, depth: 3pt, height: 9pt, dir: TLT
          ╚═head:
            ├─GLUE width: 28.35pt
            └─VLIST width: 538.59pt, depth: 3pt, height: 9pt, dir: TLT
              ╚═head:
                └─VLIST width: 538.59pt, depth: 3pt, height: 9pt, dir: TLT
                    properties: {['origin'] = par:format}
                  ╚═head:
                    └─HLIST subtype: line, width: 538.59pt, depth: 3pt, height: 9pt, dir: TLT, attr: 405=0 
                      ╚═head:
                        ├─RULE depth: 3pt, height: 9pt, attr: fontfamily=1 
                        │   properties: {['kernafter'] = -39469.02}
                        ├─GLYPH char: V, width: 6.67pt, height: 7.29pt, attr: fontfamily=1 
                        │   properties: {['kernafter'] = -39469.02}
                        ├─WHATSIT subtype: pdf_start_link, width: -16323pt, depth: -16323pt, height: -16323pt, link_attr: 
                        │ ╚═action:
                        │   └─WHATSIT subtype: pdf_action, action_type: 3, file: , data: , data: 
                        ├─KERN kern: -0.6pt, attr: text-decoration-line=0 text-decoration-color=0 hyperlink=0 background-color=0 
                        ├─WHATSIT subtype: pdf_end_link
                        ├─GLYPH char: a, width: 5.56pt, height: 5.39pt, depth: 0.15pt, attr: fontfamily=1 
                        ├─PENALTY penalty: 10000
                        │ ╚═  properties: {['origin'] = finishpar}
                        ├─GLUE subtype: parfillskip, stretch: +1fil
                        └─GLUE subtype: rightskip