9 Commits

Author SHA1 Message Date
yvt
770f11a0d1 FTFont: Get rid of raw pointer 2019-07-20 17:16:09 +09:00
yvt
0754d4e3dc
clang-format 2019-07-20 17:12:18 +09:00
yvt
e54a3ff470
FTFontSet is no longer RefCountedObject 2019-07-20 17:10:27 +09:00
yvt
516156e39e
FTFontSet: Construct unique_ptr earlier
This is a subtle change, but fixes memory leak caused by `std::list`'s
memory allocation failure.
2019-07-20 17:06:34 +09:00
yvt
b9a5d80f7b
Use Handle::New to construct T <: RefCountedObject
Unless `T::T(Args...)` is inaccessible from `Handle::New`, in which case
`Handle::Handle{new T(args...), false}` should be used.
2019-07-20 17:01:04 +09:00
yvt
e6227b3361
Update IRenderer for null safety and safe memory management 2019-07-20 13:48:49 +09:00
yvt
fae85af23d
Make stmp::optional::operator= behave more like std::optional
This means the inner type's `operator=` is used whenever possible,
instead of using `T::T(const T&)` or `T::T(T&&)` all the time.
2019-07-18 16:12:44 +09:00
David Carlier
4864f07937 Reducing some compilation warnings. 2017-11-18 21:15:07 +00:00
YVT
2d0ae3b817 FreeType2 font renderer (#484)
* Backport ngspades’s FreeType2 font renderer

* Change system fonts

* Fix SWImage::Update

* Preliminary custom TTF/OTF font support

* Fix font rendering

* Adjust design

* Update devpak

* Fix to compile on Linux

* Update .travis.yml

* Update external libraries

* Update .travis.yml

* Attempt to fix Travis CI build

* Add missing sudo to travis.yml

* Nevermind the changes, it didn't work

* Update .travis.yml

* Update .travis.yml and CMakeLists.txt
2016-12-11 23:18:16 +09:00