Last active
June 19, 2019 13:45
-
-
Save shunn/c954c39ec383ada6ba8da016964618f1 to your computer and use it in GitHub Desktop.
Name Tag Generator Part 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get dimensions of rendered text | |
my ($x_ppem, $y_ppem, $ascender, $descender, $width, $height, $max_advance) = | |
$nametag->QueryFontMetrics( | |
font => $font, | |
pointsize => $size, | |
text => $name, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment