← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2059817] Re: Image viewer renders SVG improperly

 

Thanks, it might be a librsvg issue, would be worth reporting upstream

** Changed in: eog (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to eog in Ubuntu.
https://bugs.launchpad.net/bugs/2059817

Title:
  Image viewer renders SVG improperly

Status in eog package in Ubuntu:
  New

Bug description:
  Image viewer fails to render SVG images with transform matrices that are no equal.
  Image fragment that fails:

  <svg viewBox="-50 -50 200 200" xmlns="https://www.w3.org/2000/svg";>
      <text xml:space="preserve" 
            style="font-style:normal;
                   font-variant:normal;
                   font-weight:normal;
                   font-stretch:normal;
                   font-size:4.88821px;
                   line-height:1.25;
                   font-family:Montserrat;
                   -inkscape-font-specification:'Montserrat, Normal';
                   font-variant-ligatures:normal;
                   font-variant-caps:normal;font-variant-numeric:normal;
                   font-variant-east-asian:normal;
                   letter-spacing:0px;
                   word-spacing:0px;
                   writing-mode:lr-tb;
                   stroke-width:0.0941954" x="120.24615" y="50.100014" id="text1" transform="matrix(0.35601438,0.00200485,0,2.8088753,0,0)"
                   >
          <tspan sodipodi:role="line" 
                 id="tspan2" 
                 x="120.24615" 
                 y="50.100014" 
                 style="stroke-width:0.0941954"
                 >
          This text has been highly squashed, and should stay in the inner box.
          </tspan>
      </text>
  </svg>

  Expected result: text that has been scaled to fit in a box
  Actual result: individual glyphs are appropriately squished, but letterspacing is not.  The letterspacing used appears to be the full-size glyph width in the font.

  In another test, where the text is stretched, the individual glyphs
  are appropriately stretched, but letterspacing is not.  The
  letterspacing used appears to be the full-sized (unstretched) glpyh
  width in the font.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: eog 3.36.3-0ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-101.111~20.04.1-generic 5.15.143
  Uname: Linux 5.15.0-101-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Mar 29 17:28:27 2024
  InstallationDate: Installed on 2021-06-13 (1020 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: eog
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eog/+bug/2059817/+subscriptions