No text resizing

Bug #678124 reported by xapantu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ella
Fix Committed
High
xapantu

Bug Description

All is in the title. We can't scale a test object, I know, we can change the font size, but for transitions....

Revision history for this message
Kevlar (amiluc-bis) wrote :

Yes, it's a known "bug"; because the xorg mechanism to retrieve a font, a font scale, a font path is totally inefficient. So, for this time, I've choosen a non perfect version of text managing.
I think that we can compute a function like this

input : current font size and bounding box of the text zone (but, be carreful, we ought to get the true number of lines of the text zone, see for that svgfuncs)

output : a modifiyed text zone with a new font size.

Be carreful to modifiy Flash and SVG export to manage the bounding box changing size for text zones

Changed in ella:
importance: Undecided → High
Revision history for this message
xapantu (xapantu) wrote : Re: [Bug 678124] Re: No text resizing

The problem with this method is that the text will have to keep it
ratio :/

I don't know what is the better, have a function like that soon or have
a better system in one month or two ?

Revision history for this message
xapantu (xapantu) wrote :

Or we can try to contribute to goocanvas, but I am not sure they agree to make a version in the 0.x branch. (and 1.x is for gtk3)

Changed in ella:
status: New → Triaged
Revision history for this message
xapantu (xapantu) wrote :

So, kevlar's way seems to be the best at this moment.

Changed in ella:
milestone: none → 0.3.2
Revision history for this message
xapantu (xapantu) wrote :

It works in the neweditor branch.

Changed in ella:
assignee: nobody → xapantu (xapantu)
status: Triaged → In Progress
Revision history for this message
xapantu (xapantu) wrote :

And it will be merged in the 0.4.x serie, so, I untarget it for 0.3.x

Changed in ella:
milestone: 0.3.2 → none
xapantu (xapantu)
Changed in ella:
status: In Progress → Fix Committed
milestone: none → 0.4b1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.