This website requires JavaScript.
Explore
Help
Sign In
caiyu
/
solvespace
Watch
1
Star
0
Fork
0
You've already forked solvespace
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
645c2d90ac
solvespace
/
tools
/
CMakeLists.txt
6 lines
88 B
CMake
Raw
Normal View
History
Unescape
Escape
Replace internal vector font with LibreCAD's GPLv2+ vector font. This font is less complete than our bitmap font, Unifont: Unifont has essentially complete Unicode coverage and LibreCAD's font only has Latin, Cyrillic and Japanese, but it can be extended rather easily, so this should be fine for now. These embedded fonts fatten glhelper.o quite a bit: bitmapfont.table.h is about 8M in gzip-compressed bitmaps and vectorfont.table.h is about 2M in raw vector data. In spite of that it takes just around five seconds to build glhelper.c on my laptop, so it should be fine. The final executable grows from about 2M to about 8M, but this is a small price to pay for fairly extensive i18n support. The new font has somewhat different metrics, so the rendering code has been fudged to make it look good.
2016-02-05 17:28:29 +08:00
add_executable
(
lff2c
l
f
f
2
c
.
c
p
p
)
target_link_libraries
(
lff2c
$
{
Z
L
I
B
_
L
I
B
R
A
R
I
E
S
}
)
Reference in New Issue
Copy Permalink