incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Le Grand <Armin.Le.Gr...@me.com>
Subject Re: [Code] strategy for "child works spaces"
Date Tue, 06 Dec 2011 09:20:01 GMT
	Hi Eric,

On 05.12.2011 18:40, eric b wrote:
> Hi Armin,
>
> Le 5 déc. 11 à 16:58, Armin Le Grand a écrit :
>
>> Hi Eric,
>>
>> On 05.12.2011 16:22, Armin Le Grand wrote:
>>> Hi eric,
>> [..]
>>>
>>> Ah okay, have not done exactly that yet. I mostly D&D Svgs to a
>>> freshly opened Draw/Impress, save and reload it (also Writer). I have
>>> to check what happens when saving as Svg.
>>> Currently my workspace is corrupt (svn cleanup saying to use svn cleanup
>>>
>
>
>
>>> :-(), so I'll need a moment...
>>
>
> :-/
>
>
>> Have now opened SVG directly from start screen -> I get a Draw with
>> centered Svg graphic object.
>> Saved as, given a name -> saved as *.odg
>> Reloaded -> all works, Svg is in reloaded file
>>
>> Tried to Save as and choosing SVG -> not possible, SVG is not in the
>> selection.
>>
>
> FYI, On Mac OS X, I got it.
>
> The process:
>
> Drag an .svg file over the startcenter -> it opens a draw page,
> containing the centered .svg.
>
> File -> Export ...
>
> Select ".svg"
>
> Got a screenshot :
> http://ftp.educoo.org/home/ApacheOpenOffice.org/native_svg/save_as_svg.png

Very strange. Thhis is not possible with Win, I do not know about Linux 
versions. Hmmm.

>> Thus I guess You used 'export...', there You can select SVG (and to
>> only export selected objects, but I did not) -> Creates a SVG export
>> file containing the Svg as Bitmap (<image x="3533" y="6566"
>> width="13934" height="16567" xlink:href="data:image/png;base64,
>> iVBORw0KGgoAAAANSUhEUgAAAogAAAMDCAYAAAAhSeQVAAAACXBIWXMAA....>). Not
>> perfect, but working (using the already existing Svg exporter).
>>
>
> Ok
>
>
>> Hmm, looks pretty complete to me,
>
>
>
> Some other tests I did :
>
> 1) I downloaded the full OpenClipart archive, and open a lot of .svg
> (no, I didn't open all ;) . No problem so far. Seems to work very well,
> at least for all the files I opened.

Good news. It seems to pay to base an import systematically on the spec...

> 2) Opening an .svg containing gradients, I played with the zoom, until a
> big value, and the only strange issue I saw was sort of spatial
> filtering, say spectral effect, like aliasing in the areas containing
> the gradient. After some tries, the phenomen occurs every times for some
> well defined zoom values (sorry if I'm not clear).

Please send the example, a screenshot and mark where I should zoom. I 
have a guess, but will need to play around with it.

> Other remarks : one people wrote me the import works fine with the
> penguin, but there were some glitches. Excepted the gradient, I didn't
> see anything wrong. Do you confirm ?

I saw that in the comments, maybe the same issue...

>> embedding the Svg when exporting Svg would of course be better, but
>> it's existing Svg export code and I will have to check first if this
>> would be possible...
>
> Ok. anyway, I confirm it works very well already !! (Windows build is
> slow as hell ... maybe tomorrow morning, if no other breakage occurs in
> meantime)
>
>
> Regards,
> Eric
>

Sincerely,
	Armin
--
ALG


Mime
View raw message