Search found 5 matches

by hagabaka
2013-05-07T05:21:38-07:00
Forum: Users
Topic: Outline text effect with -page not working with bitmap font
Replies: 3
Views: 3426

Re: Outline text effect with -page not working with bitmap f

But I thought those commands just rendered two copies of the text with transparent background, offset them and merged them together. The following set of commands do work. Are they significantly different from the one in the first post? character='V' convert -background transparent -pointsize 16 ...
by hagabaka
2013-05-06T20:11:10-07:00
Forum: Users
Topic: Outline text effect with -page not working with bitmap font
Replies: 3
Views: 3426

Outline text effect with -page not working with bitmap font

Hello, A while ago I learned a way to generate outlined text here by shifting a colored copy of the text multiple times with -page. It works when I use a TrueType font convert \( -background transparent -fill '#ff0000' -font 'OpenSans-Regular.ttf' -pointsize 16 label:'V' \) \ \( -background ...
by hagabaka
2011-01-25T20:55:30-07:00
Forum: Users
Topic: Generating shadowed/outlined glyphs with a font
Replies: 4
Views: 8165

Re: Generating shadowed/outlined glyphs with a font

Imagemagick allows you to stroke fonts!!! However for many different methods look at IM Examples, Compound Fonts... http://www.imagemagick.org/Usage/fonts/#stroke Yeah, I tried the -stroke option, but the result was ugly for Chinese/Japanese text. That page also says the method of shifted copies is ...
by hagabaka
2011-01-25T10:36:48-07:00
Forum: Users
Topic: Generating shadowed/outlined glyphs with a font
Replies: 4
Views: 8165

Re: Generating shadowed/outlined glyphs with a font

Using three commands like this works for the outline font: character='C' convert -background transparent \ -fill '#550b0b' label:"$character" outline.png convert -background transparent \ -fill '#e9f9f9' label:"$character" body.png convert -background transparent \ -page -1-1 outline.png \ -page -1 ...
by hagabaka
2011-01-25T01:39:29-07:00
Forum: Users
Topic: Generating shadowed/outlined glyphs with a font
Replies: 4
Views: 8165

Generating shadowed/outlined glyphs with a font

I'm generating "font textures" for a game, which are images containing rendered characters and a text files describing the rectangles of each character in the image. The game requires a plain font, and a shadowed and outlined font. To be able to get the size of each character, I'm generating an ...