mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
SFML mainline mirror
6ad7b21203
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. |
||
---|---|---|
cmake | ||
doc | ||
examples | ||
extlibs | ||
include/SFML | ||
src/SFML | ||
tools | ||
CMakeLists.txt | ||
license.txt | ||
readme.txt |
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.