Skip to content

Icon Fonts with surrogate pair

Carlo Barazzetta edited this page May 13, 2020 · 3 revisions

Icon Fonts with surrogate pair

With version 1.5 (VCL) and 1.0 (FMX) is also possible to use special icons stored into fonts characters with "surrogate pair", a techique to "break" the limit of a single char encoded in UTF-16. Now you can specify values over $FFFF to obtain those special Icons, like in the example below:

https://github.com/EtheaDev/IconFontsImageList/blob/master/Demo/Images/IconFontsSurrogatePair.jpg

With the new versione of the font file named Material Design Icons Desktop.ttf all the icons present in the old font file materialdesignicons-webfont.ttf where "moved" to the "surrogate pair" range!

Clone this wiki locally