Benau
3e70fa27d9
Add doxygen for Font modules
...
Plus some coding-style cleanup
2016-10-22 00:01:48 +08:00
Benau
03b92efba5
Fix wrong text alignment
2016-07-19 15:21:14 +08:00
Benau
89f06ed8d3
Fix crash with fixed pipeline
2016-07-18 23:56:14 +08:00
Benau
6a319cbed2
Clean up old font code
2016-07-18 23:00:40 +08:00
Benau
05419cd555
Initial work on new font rendering engine
2016-07-18 16:03:11 +08:00
Benau
87862c27ae
Fix #2127
2016-01-31 10:16:12 +08:00
hiker
7826a8a751
Removed compiler warnings.
2016-01-06 18:10:54 +11:00
Benau
37da8423f8
Fix #2417
2016-01-03 09:04:24 +08:00
Benau
cebefcf374
Fix some gui interface bugs:
...
1. Fix credits fading effect
2. Display have many no of (addons mostly) arenas are hidden due to
missing of navigation mesh
3. Fix wrong size of kart stats bar
2015-12-10 10:25:52 +08:00
deve
dbdf9db377
Fixed cygwin compilation.
...
Unfortunately it doesn't support std::to_string function, even on relatively new gcc (tested with version 4.9.2).
2015-12-03 14:38:57 +01:00
hiker
5c0f71ad07
Fixed names utf8ToWide and wideToUtf8; added convenience functions
...
taking std:;string and core::stringw as parameter (removed .c_str()
in many function calls).
2015-11-26 08:56:03 +11:00
Benau
2b0e3b8828
Reverse type and state
2015-11-14 10:38:14 +08:00
Benau
962fe919d2
Color the text (mainly border including title and billboard) base on current skin
2015-11-14 01:06:28 +08:00
Benau
7cf4d662ee
Allow configurable fonts file names in stk-config
2015-11-13 02:25:52 +08:00
Benau
0b5a916980
Remove unused header
...
Also fix some spacing
2015-11-08 01:36:40 +08:00
Benau
09101e923c
More clean up freetype-related code
...
1. Remove useless get font properties class
2. Pre-set the face dpi
3. Make all freetype related code to have a better coding style
2015-11-07 16:24:31 +08:00
Benau
b9b2b538fa
Clean up freetype code
...
1. Remove all ifdef of freetype
2. Require freetype in CMake
3. Clean up declaration
4. Add leak check
5. Make script language display better in title
2015-10-30 18:08:02 +08:00
Marianne Gagnon
2dfc493adf
Minor FreeType cleanup
2015-10-19 19:25:51 -04:00
Benau
109d6b91ce
Choose the correct title font smartly
2015-10-19 09:39:57 +08:00
Marianne Gagnon
6d365032f3
A few minor bugfixes, a little cleanup in TTF font code. Add Ubuntu font for latin languages since it generally looks better than Freesans for a game
2015-10-18 20:07:11 -04:00
Benau
d166aa620e
Add lazy load char function
...
Now less fonts are used to prevent mismatch, also include font license file
2015-10-17 02:57:27 +08:00
Ben
ee60eb9a68
Fix scoreboard display
2015-10-15 07:43:13 +08:00
Benau
a756f9f90e
Better title font to all languages
...
I tested all language, all of the them only needs 2 glyph page
to load their needed chars.
2015-10-13 08:25:25 +08:00
Benau
9fe84d3dd4
More code clean up with doxygen for freetype related file
2015-10-10 16:20:33 +08:00
Benau
a7b2c8838f
Try to fix the edged font when changing resolution
...
I add a debug function to write the glyph page png(s) too.
2015-10-10 01:59:29 +08:00
Benau
486495d976
More code clean up
...
Now all freetype related file are written in c++ class, which enable
better coding style with current stk
Windows build tested, the edge showing issue doesn't happen on Windows btw
Maybe driver problems?
2015-10-09 01:59:22 +08:00
Benau
ebeca35460
First version of glyph page loading supporting for freetype stk
...
Performance should be good, it cleans some unused code too.
Windows build not tested.
2015-10-08 16:41:31 +08:00
Benau
1e7e895d7f
Fix build and code clean up
...
Now billboard text should have a better alignment
2015-10-06 16:14:32 +08:00
Benau
3a5ec83ae9
Basic render of text using freetype
...
This is a testing version of stk using freetype
It enable better arabic font display with less blurred glyph to all fonts thanks to hinting provide by freetype.
TODO: billboard text
2015-10-04 11:59:44 +08:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
hiker
27dec2fbf8
Added attribute to irrlicht's driver to enable automatic resize
...
of images that are too big. This is then used to automatically
resize any textures (except fonts, background screen) to be
automatically resized to 512x512 if they are bigger.
2015-03-26 11:28:22 +11:00
Flakebi
a371338c14
Fix transparency of fallback characters
2015-02-21 18:06:27 +01:00
Vincent Lejeune
95cf6c5f4a
Put 2d function in their own header
2014-10-18 18:16:50 +02:00
Flakebi
069853b11f
Fix #1153 Cleanup logging code
2014-10-07 20:54:54 +02:00
hiker
e18c20db65
Fixed various compiler warnings.
2014-09-19 11:02:20 +10:00
Marianne Gagnon
f803b01d10
Initial work on billboard text
2014-07-28 19:17:59 -04:00
Flakebi
55090a0566
Unify log output
2014-07-22 12:54:11 +02:00
hiker
02b0cfd069
Use big digit font to display the kart rank inside of the speedometer.
2014-06-09 22:38:19 +10:00
Marianne Gagnon
ce1cbd44da
Use new single-color overload in font where possible
2014-03-22 19:38:48 -04:00
vincentlj
a16402e676
OGL32CTX: Missed a draw2DImage call
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:22:47 +00:00
vincentlj
6f680c1a8e
OGL32CTX: Use our draw2DImage for scalable_font.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:18:40 +00:00
hikerstk
73c498daf3
Start to support 'externa' data directories. Most directories
...
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +00:00
hikerstk
bced8cdb9f
Merged with trunk, part 1 (due to previous failures I am splitting this
...
patch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
unitraxx
395b000bee
Removed the addons_screen references to the tab_stop method which were left behind
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:37:05 +00:00
unitraxx
ebc1af345d
Remove the tab hack completely
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:32:19 +00:00
unitraxx
567f6302ed
Removed the old tab hack from scalable font. (Could someone check if done correctly?) and made it possible for table entries to have both left-aligned and centered content.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:24:06 +00:00
curaga
b56bf4dc53
Remove trailing space, git doesn't like it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
7f98f7194d
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 12:12:47 +00:00
auria
47b5a604af
Improve ScalableFont to fix offsets introduced by recent font changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 00:36:20 +00:00
auria
eacad59d20
Commit changes I forgot in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 22:59:56 +00:00