Skip to content

Instantly share code, notes, and snippets.

@Arecsu
Created March 5, 2026 11:55
Show Gist options
  • Select an option

  • Save Arecsu/9ca9e5ca25a901ea2c695ea53933b46a to your computer and use it in GitHub Desktop.

Select an option

Save Arecsu/9ca9e5ca25a901ea2c695ea53933b46a to your computer and use it in GitHub Desktop.
Fetch Segoe UI Emoji (Fluent Emoji) font from a Windows ISO
#!/usr/bin/env bash
# Arch Linux: sudo pacman -S p7zip wimlib aria2
#!/usr/bin/env bash
set -euo pipefail
ISO="windows.iso"
# Check if ISO already exists
if [ -f "$ISO" ]; then
echo "Found existing ISO: $ISO"
else
echo "No ISO found in this folder."
echo "Paste the Windows ISO download link:"
read -r URL
echo "Downloading ISO with aria2..."
aria2c \
-x 16 \
-s 16 \
-k 1M \
-o "$ISO" \
"$URL"
fi
echo "Extracting install.wim from ISO..."
7z e -y "$ISO" sources/install.wim > /dev/null
echo "Extracting seguiemj.ttf..."
wimextract install.wim 1 /Windows/Fonts/seguiemj.ttf --dest-dir .
rm -f install.wim
echo "Done. seguiemj.ttf is in this folder."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment