Is it possible to add UTF-8 characters in to a DmiFontsPlus charset?
Obviously I know that having 10,000+ characters is not really feasible, but there are a handful of characters that I would like to be able to use.
I took a look through the code that it generates but I cant really wrap my head around the values in the lists it generates.
ID:2611699
Sep 5 2020, 3:01 am
|
|
Sep 5 2020, 6:19 am
|
|
Well did you try it?
|
In response to Magicsofa
|
|
Magicsofa wrote:
Well did you try it? Did I try what? Adding characters? Yes. It's not as simple as just throwing more characters in to the list. You get errors like... runtime error: list index out of bounds proc name: DrawChar (/dmifont/proc/DrawChar) usr: IceFire2050 (/mob) src: Arial 7pt (/dmifont/Arial7pt) usr.loc: the turf (7,5,1) (/turf) call stack: Arial 7pt (/dmifont/Arial7pt): DrawChar(9734, 33, 4, /icon (/icon), 5) Arial 7pt (/dmifont/Arial7pt): DrawText("Test ☆", 11, 4, -1, 0, 0, -1, 2, 1, /icon (/icon), null) Arial 7pt (/dmifont/Arial7pt): DrawTextMultiFont(/dmifonttextline (/dmifonttextline), 11, 4, -1, 0, 0, -1, 2, 1, null, null) /talkbubble (/talkbubble): New(IceFire2050 (/mob), /list (/list)) IceFire2050 (/mob): Say("Test ☆ Test") runtime error: list index out of bounds proc name: DrawChar (/dmifont/proc/DrawChar) usr: IceFire2050 (/mob) src: Arial 7pt (/dmifont/Arial7pt) usr.loc: the turf (7,5,1) (/turf) call stack: Arial 7pt (/dmifont/Arial7pt): DrawChar(4.29497e+009, 40, 4, /icon (/icon), 5) Arial 7pt (/dmifont/Arial7pt): DrawText("Test ☆", 11, 4, -1, 0, 0, -1, 2, 1, /icon (/icon), null) Arial 7pt (/dmifont/Arial7pt): DrawTextMultiFont(/dmifonttextline (/dmifonttextline), 11, 4, -1, 0, 0, -1, 2, 1, null, null) /talkbubble (/talkbubble): New(IceFire2050 (/mob), /list (/list)) IceFire2050 (/mob): Say("Test ☆ Test") runtime error: list index out of bounds proc name: DrawChar (/dmifont/proc/DrawChar) usr: IceFire2050 (/mob) src: Arial 7pt (/dmifont/Arial7pt) usr.loc: the turf (7,5,1) (/turf) call stack: Arial 7pt (/dmifont/Arial7pt): DrawChar(4.29497e+009, 47, 4, /icon (/icon), 5) Arial 7pt (/dmifont/Arial7pt): DrawText("Test ☆", 11, 4, -1, 0, 0, -1, 2, 1, /icon (/icon), null) Arial 7pt (/dmifont/Arial7pt): DrawTextMultiFont(/dmifonttextline (/dmifonttextline), 11, 4, -1, 0, 0, -1, 2, 1, null, null) /talkbubble (/talkbubble): New(IceFire2050 (/mob), /list (/list)) IceFire2050 (/mob): Say("Test ☆ Test") |