[Patch] Single texture font

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Message
Author
User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Patch] Single texture font

#16 Post by Geoff the Medio »

I couldn't get the patch to apply, so I compared it with the version 4 patch which applied fine. The main notable difference I saw was the use of tab characters after file names in version 4 but not 5. After replacing the spaces in 5 with tabs, it would apply... eg.

Code: Select all

--- GG/GG/Font.h	(revision 7434)
+++ GG/GG/Font.h	(working copy)
After building, seems to run OK for me. No odd FPS drops at font size 13, and no apparent font artifacts.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: [Patch] Single texture font

#17 Post by Geoff the Medio »

Committed an edited version. Next test release should generate some additional feedback if there are issues with using a large single texture, which is plausible as I suspect limits on texture size were the reason to use multiple textures previously...

Post Reply