Question for David about using SVG as font
-
I recall not too long ago you mentioned using SVG icons as fonts instead of the path version.
How is this working out? Better to manage?
Also, is this a topic included in any of your videos? -
@VirtualVirgin said in Question for David about using SVG as font:
Also, is this a topic included in any of your videos?
Will be soon.
I'm using icon fonts, instead of SVGs. Fonts like Material, or Font Awesome work.
-
Here's an example
HiseSnippet 1034.3ocsVstaaaCElxIJX1aqXEXO.B9WNEYpVttNtqXnIwW17VtXDmULf1g.Fpik3hLo.EURMJBvdu1Kv9QdX1aP2gRJQNyAosFXBv15bi7imy24POVIYPRhTQrpcx7XfX8U1SlKzg8BobAYTeh0irOflnAkStp8lGSSR.ehk0Z+nQgU00IYO+yq1iFQELnTEg7ZImA6ymw0kZGuyuvihFR8gS3yVv616LhIE8jQxTDOqY2jDSYmSCfCoF2pXS9IZRHw5I19ds8l1kQ6z0qcKFqU2sa8hsY.c5Tni2y2tc2osmRYMaQr1XfOWKUSzTMjfK5dR+4SBkWJx2fWyS3mEAFAOxDbmyUS5Exi7GeSxIgPrVebYpZs7T02Ze.2meq9xT12jYvoLhESZVUdHH48Y.IqEfz54P5w1SXJdrtzhAOeo8HAVAwTBbGnj6KoxeUwtmD8PncmQOGFpPgainQmlM2xA+ZyWVq1.Q.W.tQRp+PzocSZT+8iO9nedPuSNc3Q62evwWYzm7TSkL4oiCkIwgR0su3p0SqukS83B45lE03p14BpxYuTsVJ7b9AmavS.n6ImEKEnPi5E1MQkGTDc5xwvT.lZ2WxnQ6KkmuqveH.QMvfJ70MAzKYtboLXpTxUAAbSCvvTASykhF08UzKOQFDDA49fmno2XLXKG4Y+wl0desplSDEwEJ6RQL8xZUqUMvr44b7F4+j3dIWGdPZjlGGwA+8T7fPs.KeMLQx0vrbG8xVZW4EXy3qb7ba57cNMca47jL09HCx46QEuXyMK2IS0nQY5dKG5aZ86F6AtlSwtQ7.A3eB7Nzq2lBseVGiOXEhgYRE3aR0Wget474HEGJ0vQhFYGwZWUy4+ZZ5z60lo5njQQf5dMaFEndn.aHRmcFn1BIJQovsNhT+61OswmV+DKmrrfiRwHAWeTLTHOTF4a5SLuub2Gofsgu8qi5S0TSCYgNzuXPo4F3X0Gt.GAl2dV0tOjbtVFm4aAsFUqyr9nhl2bREg6aBnfERd2syI+y2ry7xgli14RtuNrTAemPvPfHV1V+MJCBJd7MCj1GnJgouOgdALRLVAHAwHWRwvkYiqu95OjOmdowK3fMoeZDUe2ocl6AJLfkr6LhwLFQjv0yW7dhOiQfMevQfepP7w1i4ZV38iwJ2CFwh4+GXr3hiu1d.dSESWBv0sG9aq5sDejs+XYplKBNfpUbjDYeX5rIXklA3tKDPThgnTwPnykaZjMYfIfvOS3C3SgQOirUgQuaLRlQYJ4or7FUyUSeQlFDShrqtqh+GBT1wij07tXddFRLOkwt6RsTfsV0.e1pFX6UMvmupA1YUCb6UMvte7.MyM1MUKmk21PHGLdP1zNKqAYCVxXqj+EDFVsSN
You'll need to download the phosphor font and add it to your project, and change the loadFont call in on init to the correct location.