Search found 54 matches

by badabou
2015-03-08T01:32:26-07:00
Forum: Users
Topic: Text in a shape
Replies: 25
Views: 11662

Re: Text in a shape

If you want to allow words to be broken, you can insert a space character between all the characters of every word. For example, the hair space U+200A: a t e x t f o r e x a m p l e a The zero-width space U+200B might be better. Than...
by badabou
2015-03-07T00:33:21-07:00
Forum: Users
Topic: Text in a shape
Replies: 25
Views: 11662

Re: Text in a shape

I have another problem with the alignment of the text. I try to reproduce the alignment as the first image. The words are automatically cut to keep the shape of the object. Do you have any idea? Is there a property in SVG code ? Thank you IMAGE 1 http://img11.hostingpics.net/pics/673308textalignok.p...
by badabou
2015-03-02T06:50:19-07:00
Forum: Users
Topic: Text in a shape
Replies: 25
Views: 11662

Re: Text in a shape

Well, I'm looking for a way to generate PNG from SVG (from a script). This SVG contains a shape with text inside. With Inkscape, everything works except that the font can not be customized dynamically. Do you know a way (another program for example) that do this? It is necessary that the program sup...
by badabou
2015-03-01T00:20:41-07:00
Forum: Users
Topic: Text in a shape
Replies: 25
Views: 11662

Re: Text in a shape

I want to import a font dynamically. I tried like this but it does not work : <svg xmlns:svg="http://www.w3.org/2000/svg" version="1.2" xmlns:xlink="http://www.w3.org/1999/xlink" width="800px" height="800px" viewBox="0 0 800 800"> <title>Text in a heart</title> <defs> <style type="text/css"> @font-f...
by badabou
2015-02-28T05:34:23-07:00
Forum: Users
Topic: Text in a shape
Replies: 25
Views: 11662

Re: Text in a shape

thank you very much for the explanation.

For a long time I did not come to revisit this topic and everything works as expected.

The only problem is that I can not import a font (.ttf) to customize the text.

Do you have any idea ?
by badabou
2015-02-24T04:01:47-07:00
Forum: Bugs
Topic: Problem caption outside of area
Replies: 11
Views: 6252

Re: Problem caption outside of area

- The first problem is however very easy to reproduce : CAPTION: convert -background black -fill "#ffffff" -gravity Center -font "ChopinScript.otf" -size 460x70 caption:"A test with other font" out-with-caption.png http://img4.hostingpics.net/pics/223048outwithcaption.png LABEL: convert -background ...
by badabou
2015-02-22T12:56:19-07:00
Forum: Bugs
Topic: Problem caption outside of area
Replies: 11
Views: 6252

Re: Problem caption outside of area

Yes Fred. The lines bug from this topic report are fixed : viewtopic.php?f=3&t=27067

But for the caption area problem, the bug are not fixed. For test just compare label and caption with center gravity with ChopinScript font.
by badabou
2015-02-22T00:29:26-07:00
Forum: Bugs
Topic: Problem caption outside of area
Replies: 11
Views: 6252

Re: Problem caption outside of area

I downloaded the new Version 6.9.0-7 but the problem is still present. Yet there indicated in the changelog that the problem is corrected : http://www.imagemagick.org/script/changelog.php 2015-02-15 6.9.0-7 Cristy <quetzlzacatenango@image...> Line strokes appeared too thin (reference http://www.ima...
by badabou
2015-02-21T01:11:20-07:00
Forum: Bugs
Topic: Text with stroke Anti-aliasing (shadow) problem
Replies: 11
Views: 6078

Re: Text with stroke Anti-aliasing (shadow) problem

Indeed, ImageMagick-6.9.0-7 beta (linux) there is no problem.
by badabou
2015-02-21T00:32:56-07:00
Forum: Bugs
Topic: Text with stroke Anti-aliasing (shadow) problem
Replies: 11
Views: 6078

Re: Text with stroke Anti-aliasing (shadow) problem

Same problem with ImageMagick 6.9.0-6.
by badabou
2015-02-20T08:35:02-07:00
Forum: Bugs
Topic: Text with stroke Anti-aliasing (shadow) problem
Replies: 11
Views: 6078

Re: Text with stroke Anti-aliasing (shadow) problem

I just tested with version 6.9.0-0 dans there no problem.

Ultimately, it is the 6.9.0-5 version where there is a problem.
by badabou
2015-02-20T06:14:21-07:00
Forum: Bugs
Topic: Text with stroke Anti-aliasing (shadow) problem
Replies: 11
Views: 6078

Re: Text with stroke Anti-aliasing (shadow) problem

There is a bug in Imagemagick for sure. Here is an example with two different versions of Imagemagick with a transparent background: convert -background transparent -fill "#00ff00" -size 500x100 caption:"A small test" text.png - The old version 6-5-9-2 (the result is good) : http://img11.hostingpics...
by badabou
2015-02-20T03:32:55-07:00
Forum: Bugs
Topic: Text with stroke Anti-aliasing (shadow) problem
Replies: 11
Views: 6078

Text with stroke Anti-aliasing (shadow) problem

Hi, I have a problem when a text is generated with an stroke. The command : convert -background "#ff0000" -fill white -strokewidth 3 -stroke "#00ff00" -size 500x100 caption:"A small test" text.png We can see that the result is not clear : http://img11.hostingpics.net/pics/945218caption.png Here is t...
by badabou
2015-02-18T04:04:53-07:00
Forum: Bugs
Topic: Problem caption outside of area
Replies: 11
Views: 6252

Re: Problem caption outside of area

That's exactly right, Fred.

This demonstrates that this is a bug in Imagemagick. It would not be a bug in the font metrics.

I hope there will soon be a bug fix.
by badabou
2015-02-17T20:49:22-07:00
Forum: Bugs
Topic: Problem caption outside of area
Replies: 11
Views: 6252

Re: Problem caption outside of area

Here is another example with the font ChopinScript.otf and Imagemagick 6.9.0-5 : http://img4.hostingpics.net/pics/756404ResultChopinScript.png convert -background black -fill "#ffffff" -gravity Center -font "ChopinScript.otf" -size 460x70 caption:"A test with other font" result.png Please, can you g...