SFML playground
Go to file
STU 6ad7b21203 Fix a bug in the font system.
When the finding a rectangle for a glyph at a particular character size,
if the glyph happens to be wider than the current texture size, but less
high than the unused height in the texture, the texture will not be
correctly doubled in size (since only the height is checked).

In practice, this only occurs when finding the rectangle for the *very
first* glyph (so the texture is at its default 128x128 size): otherwise,
the glyph would need to be unusually wide compared to its height to
trigger the bug.

This will trigger a debug assertion in Texture::update(). With assertions
disabled, there are knock-on effects and most text at that character size
will fail to render.
2014-08-12 10:52:39 +02:00
cmake Fixed order of dependent libraries (SFML_DEPENDENCIES variable) in FindSFML.cmake 2014-07-26 21:01:17 +02:00
doc Fixed several Doxygen warnings, limited input to *.hpp files 2014-03-29 12:42:13 +01:00
examples I missed one exclamation mark in the previous commit. 2014-08-03 21:18:27 +02:00
extlibs [Android] Fixed the audio module not working 2014-06-13 15:58:26 +02:00
include/SFML Merge branch 'master' of github.com:LaurentGomila/SFML 2014-07-11 17:43:50 +02:00
src/SFML Fix a bug in the font system. 2014-08-12 10:52:39 +02:00
tools Added config of Xcode templates according to CMAKE_OSX_ARCHITECTURES 2014-05-23 09:52:18 +02:00
CMakeLists.txt Improved CMake script 2014-05-23 09:52:18 +02:00
license.txt Updated copyright year to 2014 2014-02-06 20:08:26 +01:00
readme.txt Added the Android port 2014-04-20 12:52:04 +02:00

SFML - Simple and Fast Multimedia Library
=========================================

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics,
audio and network.
It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.

Authors
-------

Laurent Gomila - main developer (laurent.gom@gmail.com)
Marco Antognini - OS X developer (antognini.marco@gmail.com)
Jonathan De Wachter - Android developer (dewachter.jonathan@gmail.com)

Download
--------

You can get the latest official release on SFML website (http://www.sfml-dev.org/download.php).
You can also get the current development version from the git repository (https://github.com/LaurentGomila/SFML).

Install
-------

Follow the instructions of the tutorials (http://www.sfml-dev.org/tutorials.php), there is one for each platform/compiler that SFML supports.

Learn
-----

There are several places to learn SFML:
* The official tutorials (http://www.sfml-dev.org/resources.php#tutorials)
* The online API documentation (http://www.sfml-dev.org/resources.php#documentation)
* The community wiki (https://github.com/LaurentGomila/SFML/wiki/)
* The community forum (http://en.sfml-dev.org/forums/) (or http://fr.sfml-dev.org/forums/ for french people)

Contribute
----------

SFML is an open-source project, and it needs your help to go on growing and improving.
Don't hesitate to post suggestions or bug reports on the forum (http://en.sfml-dev.org/forums/),
submit patches by e-mail, or post new bugs/features requests on the task tracker (https://github.com/LaurentGomila/SFML/issues/).
You can even fork the project on github, maintain your own version and send us pull requests periodically to merge your work.