Re: FW: Text rendering issues with gm convert and unifont

Neil Youngman <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>

On 22/05/2016 14:58, Bob Friesenhahn wrote:
> On Sat, 21 May 2016, Neil Youngman wrote:
>
>> I am trying to render plain text to fax and I need to support as wide a
>> range of characters as possible, ideally the whole Unicode BMP.

<SNIP>

> ~~~~~~~~~~~~~~~~~~~~~
> gm convert -font /usr/share/fonts/truetype/unifont/unifont.ttf
> -pointsize 12 -density 178x180 -page Letter+100+200 txt:/tmp/4778.txt
> -background white -extent 1728x2292 +dither -type bilevel
> -compress fax -density 204x196 /tmp/test.tif
> ~~~~~~~~~~~~~~~~~~~~~
>
> Given that the output is bilevel, it is best to do as little
> processing (e.g. resize) on the image as possible.

That seems to produce very good results.

Thank you

Neil Youngman

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.