In the hopes that this question will not be marked as duplicate since all of these only have Windows solutions:
My question is this: How can one do the same without using AddFontMemResourceEx, since it's Windows only, under a Linux OS?
On a side note, for the OSX crowd, this question might help.