13 Commits

Author SHA1 Message Date
yvt
da7e61b25c
Change std::regex static local variables to global
Removes the runtime cost caused by lazy initialization.
2019-07-23 22:25:12 +09:00
yvt
e54a3ff470
FTFontSet is no longer RefCountedObject 2019-07-20 17:10:27 +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
60fd3191c5
Remove Handle::operator T*(), discouraging conversion to raw pointers
It was replaced by `Handle::GetPointerOrNull()`. Every use of
`GetPointerOrNull` should be reviewed. Some of them were already removed.
2019-07-20 15:47:42 +09:00
VelocityRa
d150d2848c Add medium-sized font to FontManager 2017-01-04 21:32:11 +02:00
yvt
d505bfae91 Expose “FontManager” to the scripting environment 2016-12-16 05:05:23 +09: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
Tomoaki Kawada
2eb9e35c65 Apply clang-format to all non-external source files 2016-12-03 18:23:47 +09:00
yvt
4d7522f7e3 Improved the appearance of fallback fonts 2014-03-12 00:07:00 +09:00
yvt
7d9bd134bd Fallback font’s format was updated to support negative offset, and BdfToOSFont now supports BBX directive 2014-03-10 01:19:56 +09:00
yvt
5643f094f4 Improved appearance of fallback fonts with the software renderer 2014-02-14 23:37:59 +09:00
yvt
be590dbb24 Improve the appearance of fallback fonts with the software renderer by rounding the size 2014-02-09 00:02:13 +09:00
yvt
5f5d40cba0 Updated font and its usage 2014-02-08 22:37:46 +09:00