-7
  • I want to create some symbols in TikZ.
  • The symbols should mimic the character set of two very specific fonts.
  • The fonts are called Ultima Underworld II and Dungeon Master.
  • I attached some pictures that show the look of the fonts.
  • I want to use the symbols within the normal text later.

runes of ultima underworld 1 and 2

another example

15
  • 1
    TikZ is for graphics. You are asking about using a particular system font.
    – percusse
    Mar 25, 2018 at 20:30
  • 4
    Use XeLaTeX or LuaLaTeX, assuming the fonts are publicly available. They allow you to use any system font.
    – Alan Munn
    Mar 25, 2018 at 20:30
  • 4
    idownvotedbecau.se/noattempt and because you are being rude in the comments. Mar 25, 2018 at 20:37
  • 1
    If you set up your document font you can also use it with TikZ just like you can use it in a regular text.
    – percusse
    Mar 25, 2018 at 20:48
  • 4
    Why though? Why recreate font shapes with TikZ and not use the font directly? You could use Inkscape to trace the outline of the characters and export to TikZ code. Mar 25, 2018 at 20:56

1 Answer 1

3
  • Here's a simple code example.
  • Is that what you mean?
  • The code is far from optimal but maybe it helps you to ask a more specific question.
  • I do not know if baseline=(char.base) would be better/more appropriate than baseline=0 (see here for example).

\documentclass{article}
\usepackage{tikz}

% Code is loosely based on https://tex.stackexchange.com/questions/295360/    

% DRM --> Dungeon Master Runes
% 'em' is a length unit in LaTeX that is relative to the current font.
% See https://tex.stackexchange.com/questions/8260/ for (much) more information

\newcommand\DMRAn{% <-- needed
\tikz[x=0.75em,y=0.75em,baseline=0]
\draw(0,0)--(0,1)--(0.7,0.5)(0,0.5)--(0.7,0.0);% <-- needed
}

\newcommand\DMRBet{% <-- needed
\tikz[x=0.75em,y=0.75em,baseline=0]
\draw(0,0)--(0,1)--(1,0.75)--(0,0.5)--(1,0.25)--(0,0);% <-- needed
}

\begin{document}
ABC \DMRAn\ DEF \DMRBet\

\end{document}

enter image description here


Maybe you can later combine this with Simulating hand-drawn lines to have a handwritten look :).

4
  • 1
    Exactly OK, Thank you Dr. Manuel Kuehner, It is awesome and impressive quality answer! No need to be stuborn with fonts, just Tikz method is nothing wrong or a crime. I would give all possible stars if it was possible, so much efforts you give to help people on Tex Stackexchg. Thank you for considering my post i.e. using Tikz (despite all Fonts method recommendations of many users (e.g. Xelatex,...)) Thank you a lot for your time and very high quality of answers. Mar 26, 2018 at 16:58
  • Thanks for the feedback. Better luck next time :) Mar 26, 2018 at 19:46
  • Hopefully, there will be better answer quality, because you were the single accurate answer. Many thanks ! Mar 29, 2018 at 14:32
  • 5
    @linux432532 you might consider a) accepting the answer and b) dialing down your tone
    – DG'
    Mar 30, 2018 at 7:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.