Unicode (Japanese) characters in Magick++

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Posts: 1
Joined: 2019-09-10T01:48:27-07:00
Authentication code: 1152

Unicode (Japanese) characters in Magick++

Post by inanaz »

I'm having some difficulty implementing Unicode (Japanese character) support in my Magick++ program. It works fine when using the ImageMagick executable to carry out the same operation. I have tried both passing it as an argument and hardcoding some characters into the program, and neither works.

-- Using a compatible font (confirmed via testing with ImageMagick)
-- Using DrawableText
-- Example of characters used is "怒った"
-- Output on the image is "???"
-- MSVS 2012, "Use Unicode Character Set" enabled in build properties, and both "UNICODE" and "_UNICODE" are defined.
-- Searched Magic++ subforum for "unicode" "Japanese" and "character" with no helpful results.
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Unicode (Japanese) characters in Magick++

Post by magick »

Can you post a simple complete Magick++ codeset that illustrates the problem? We need to reproduce the problem on our development environment before we can offer any assistance.
Post Reply