Skip to content

Instantly share code, notes, and snippets.

View raikasdev's full-sized avatar
🛠️
Doing cool stuff

Roni Äikäs raikasdev

🛠️
Doing cool stuff
View GitHub Profile
@aerulion
aerulion / BitmapGlyphInfo.java
Last active July 7, 2023 20:35
A collection of all Minecraft bitmap font glyphs and their pixel width when using the default resource pack. This information can be used to send centered text to the player. Some glyphs are represented as surrogate pairs, in which case the high surrogate has a width of -1 to simplify the width calculation (since every char is spaced 1 pixel apa…
import it.unimi.dsi.fastutil.chars.Char2ObjectMap;
import it.unimi.dsi.fastutil.chars.Char2ObjectOpenHashMap;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* A collection of all available bitmap glyph infos containing the default character width.
*/
@SuppressWarnings("unused")
@JeppeX
JeppeX / GPL_mentions_in_abitti.txt
Created May 24, 2022 15:03
Mentions of GPL in all the packages provided in Digabi-OS
/usr/share/doc/acl/copyright:License: GPL-2+
/usr/share/doc/adwaita-icon-theme/copyright:License: GPL-unspecified
/usr/share/doc/apt/copyright:License: GPLv2+
/usr/share/doc/apt-transport-https/copyright:License: GPLv2+
/usr/share/doc/apt-utils/copyright:License: GPLv2+
/usr/share/doc/arping/copyright:License: GPL-2+
/usr/share/doc/base-passwd/copyright:License: GPL-2
/usr/share/doc/bash/copyright:Files with other copyright statement than: Copyright FSF, License GPL
/usr/share/doc/bsdutils/copyright:License: GPL-2+
/usr/share/doc/bubblewrap/copyright:License: GPL-2+ with Autoconf exception