Ticket #1 (closed patch (an actual patch, not a request for one): fixed)
Add font rendering and UTF-8 support
| Reported by: | muggenhor | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Engine: Graphics | Version: | git/master |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Operating System: | All/Non-Specific |
Description
This patch adds font rendering and UTF-8 support. It is kind of old though. It applies to r2375.
Attachments
Change History
Changed 4 years ago by muggenhor
- Attachment wz-fonttest-b.patch added
A newer version of the patch that applies to r2471
comment:1 Changed 4 years ago by muggenhor
This last patch (attachment:wz-fonttest-c.patch) doesn't use UTF-8 in Warzone's codebase. It is also a lot more recent (applies to r2481).
Changed 4 years ago by muggenhor
- Attachment wz-fonttest-c.patch added
This version of the patch doesn't add UTF-8 handling to WZ's codebase. Instead it defers this to (Queso)GLC. This patch applies to r2490.
Changed 4 years ago by muggenhor
- Attachment wz-fonttest-d.patch added
This version of the patch completely swaps the previous interface of source:trunk/lib/ivis_common/textdraw.h with a new interface. This applies to r2520.
Changed 4 years ago by muggenhor
- Attachment wz-fonttest-buildsystems.patch added
This patch adds QuesoGLC to all buildsystems except for the XCode project and the "wscript" file.
comment:5 Changed 4 years ago by Giel
(In [2521]) * Add font rendering and UTF-8 support through usage of QuesoGLC (an OpenGLC implementation);
- This _will_ require you to install http://quesoglc.sourceforge.net/ on your system to be able to compile (windows binaries are provided on the sourceforge download page as well; just dump them in wz's devpackage directory for now)
- Currently the font render code is hard-coded to select two fonts: DejaVu Sans Mono regular style (aka "Book") or bold style; if you're package manager doesn't provide these fonts (Debian and derivatives have "ttf-dejavu"), you can get them from http://dejavu.sourceforge.net/
This closes #1 (https://trac.mortis.eu/warzone/ticket/1 I dumped/maintained my patch there)
comment:2 Changed 4 years ago by muggenhor
- Status changed from new to closed
- Resolution set to fixed
(In [2521]) * Add font rendering and UTF-8 support through usage of QuesoGLC (an OpenGLC implementation);
- This _will_ require you to install http://quesoglc.sourceforge.net/ on your system to be able to compile (windows binaries are provided on the sourceforge download page as well; just dump them in wz's devpackage directory for now)
- Currently the font render code is hard-coded to select two fonts: DejaVu Sans Mono regular style (aka "Book") or bold style; if you're package manager doesn't provide these fonts (Debian and derivatives have "ttf-dejavu"), you can get them from http://dejavu.sourceforge.net/
This closes #1 (https://trac.mortis.eu/warzone/ticket/1 I dumped/maintained my patch there)
