Freetype2
Font Rendering with sub pixel positioning matching the Samsung G8 OLED, used with Arch Linux.
Install / Use
/learn @olealgoritme/Freetype2README
FreeType2 Font Rendering for QD-OLED @ arch linux
-
For my Samsung G8 OLED monitor
-
Disabled ClearType Sub pixel font rendering
-
Uses custom pixel layout (x/y) -18, -11, 2, 22, 16, -11
-
Replace the default freetype2 package
cd trunk
makepkg --noextract -f
sudo pacman --remove --nodeps freetype2
sudo pacman --upgrade freetype2-2.12.1-1-x86_64.pkg.tar.zst
- Disable gtk4 font hinting in ~/.config/gtk-4.0/settings.ini
[Settings]
gtk-hint-font-metrics=0
- Set truetype interpreter version to v40 in /etc/profile.d/freetype2.sh
export FREETYPE_PROPERTIES="truetype:interpreter-version=40"
- Set Font config in /etc/fonts/local.conf
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="pattern">
<edit mode="assign" name="lcdfilter">
<const>lcdlight</const>
</edit>
</match>
</fontconfig>
- Reboot or restart X11
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
