1
0
Fork 0
Commit graph

12 commits

Author SHA1 Message Date
b2dbee33fb Font: moving text size from font to Text object. 2016-05-05 11:04:54 +02:00
c74dda1200 include/Spectre/Graphics/Font.h: move texture variable into it's own struct.
When implementing rendering of glyphs with different properties: size, stroke width, bold etc.
We will need to store them in different textures.
2016-04-23 18:36:39 +02:00
1e5d448fa1 source/Graphics/Font/FreeTypeDriver.cpp: Take outlineSize into account when setting advance. 2016-04-17 22:48:45 +02:00
6306c1e647 source/Graphics/Font/FontDriver.h: Add support for outlines. 2016-04-17 22:18:24 +02:00
308e0dff6b Graphics/Text.h: Adding outline width/color. 2016-03-29 07:31:52 +02:00
1423a161a4 source/Graphics/Font.cpp: resizeTexture() take pixelformat from current texture. 2016-03-28 17:23:20 +02:00
1a39c4bede source/Graphics/Texture.cpp: cleaning up pixel store/format code abit. 2016-03-08 19:02:07 +01:00
151baaa8ff Freetype: use actual metrics instead of bitmap data. also skip empty glyphs (whitespace chars/missing glyphs etc). 2016-03-08 15:14:54 +01:00
008cb6d33f source/Graphics/Text.cpp: include Vector4.h 2016-02-17 13:28:32 +01:00
2da2601149 GLContext: Remove bpp parameter from create()
Hardcode to 32 bits for now.
2016-02-17 13:28:32 +01:00
8675018522 Graphics: Change Vertex color to 4 components. 2016-02-02 00:09:29 +01:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00