Re: using symbols with gm convert draw text

Bob Friesenhahn <[email protected]> Wed, 15 Feb 2023 08:15:21 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--3735943886-378843792-1676470521=:18792
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Wed, 15 Feb 2023, Gerhard Roediger wrote:
>
> which causes troubles when called via our erp software, I would look for something like
>
> gm convert -draw "text 0,0 '\u2300 10'" file.jpg file2.jpg
>
> to circumvent the issues with encoding the ⌀ character(as plain text characters seem to work fine all through, a correct \uwhatever sequence should be no problem)
>
> So if there is a way to substitute those characters, please let me know. Otherwise as mentioned above, I've already a workaround in place for the encoding issues, so it wouldn't be the end of the world if there is no such thing ;)

There is not currently any such capability in GraphicsMagick.  If you 
are using a Linux (or similar) system then perhaps 'iconv' or similar 
software could be used to encode from an original/desired encoding to 
UTF-8.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
--3735943886-378843792-1676470521=:18792
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--3735943886-378843792-1676470521=:18792
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help

--3735943886-378843792-1676470521=:18792--