Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
4ccd5b1f
by Alexei Podtelezhnikov at 2021-05-21T21:59:18-04:00
2 changed files:
Changes:
1 |
+2021-05-21 Alexei Podtelezhnikov <apodtele@gmail.com>
|
|
2 |
+ |
|
3 |
+ * Makefile (LINK_LIBS): Add `-lgdiplus' for PNG saving on Windows.
|
|
4 |
+ |
|
5 |
+ Reported by Anuj Verma.
|
|
6 |
+ |
|
1 | 7 |
2021-04-30 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2 | 8 |
|
3 | 9 |
* src/ftdump.c (Print_Charmaps): Add hexadecimal FNT charset.
|
... | ... | @@ -180,6 +180,11 @@ else |
180 | 180 |
endif
|
181 | 181 |
endif
|
182 | 182 |
|
183 |
+ # Only on Windows we might fall back on GDI+ for PNG saving
|
|
184 |
+ ifeq ($(OS),Windows_NT)
|
|
185 |
+ LINK_LIBS += -lgdiplus
|
|
186 |
+ endif
|
|
187 |
+ |
|
183 | 188 |
LINK = $(LINK_CMD) \
|
184 | 189 |
$(LINK_ITEMS) \
|
185 | 190 |
$(LINK_LIBS)
|