recent (?) change in docbook rendering of inlinemediaobject svg images

Albert Astals Cid aacid at kde.org
Tue Nov 12 22:58:09 GMT 2024


El dimarts, 12 de novembre del 2024, a les 0:43:42 (Hora estàndard del Centre 
d’Europa), Jack va escriure:
> On 2024.11.11 17:02, Albert Astals Cid wrote:
> > El dissabte, 9 de novembre del 2024, a les 1:44:03 (Hora estàndard
> > del Centre
> > 
> > d’Europa), Jack va escriure:
> > > I've been working on updates to the KMyMoney handbook on and off for
> > > several months, but today I just noticed that some rendering has
> > > changed, although I am not sure the last time it worked the "old"
> > 
> > way.
> > 
> > > These are all of the form
> > > <guiicon>
> > > 
> > >    <inlinemediaobject>
> > >    
> > >      <imageobject>
> > >      
> > >        <imagedata fileref="tag-new.svg" format="SVG"/>
> > >      
> > >      </imageobject>
> > >    
> > >    </inlinemediaobject>
> > > 
> > > </guiicon>
> > > 
> > > The last time I used meinproc5 (at minimum a month or two ago) these
> > > rendered as small icons, no taller than the line of text where they
> > > were rendered.  Today, with either meinproc5 or meinproc6, they are
> > > rendered huge (almost the full width of the page, and with a light
> > 
> > gray
> > 
> > > bar below them the full width of the page.
> > 
> > Rendered where? In a web browser? In khelpcenter?
> 
> khelpcenter 6.0.24081


How old was your "previous" khelpcenter? around mid 2023 we changed the 
rendering engine so that may be it?

Anyhow my suggestion is create a MR with the new documentation and we can try 
to figure it out once we can reproduce it.

Cheers,
  Albert

> 
> > Cheers,
> > 
> >   Albert
> >   
> > > Before I start adding random bits to the docbook to try and beat the
> > > images back down to proper size, I figure I'd ask whether I missed
> > > anything in the relevant change logs, and whether there is a
> > > recommended way to do this.
> > > 
> > > Thanks for any suggestion, even if it is just a pointer to the
> > > appropriate fine manual I need to (re)read.
> > > 
> > > Jack






More information about the kde-doc-english mailing list