nfroidure / svgicons2svgfont

Concatenate SVG icons and ouput an SVG font
http://nfroidure.github.io/svgiconfont/
MIT License
338 stars 71 forks source link

Issue with the Unicodes of Plane 15-16 (Private User Area Planes) #96

Open THISISSUBBU opened 5 years ago

THISISSUBBU commented 5 years ago

Hi We are getting issue with the unicode using from the Private User Area Planes.

For example I'm using the Unicode 0xf008d and expected that the glyph should contains the unicode &#xf008d,

But the decoding conversion from ucs2.decode i'm getting the 0xf008d

Idea is to provide a callback or hook to decide which unicode will be placed in the glyph, default one is use the existing unicode decoding.

Can i create a pull request or is there any way to achieve as i expected?

I'm a gentledev i:

Expected behavior

Looking for a hook or callback to provide the unicode

Actual behavior

There is no hook to provide user defined unicode that are in the Private User Area space

Steps to reproduce the behavior

Debugging informations

Feature request

Feature description

Provide a hook/callback to generate the glyph unicode

Use cases