Steve Lhomme
0380ff9d64
freetype: always link directly with dwrite.lib
Now that we have a minimum of Win7 we could always do it [1].
However IDWriteFactory2 is only supported since 8.1 [2].
[1] https://learn.microsoft.com/en-us/windows/win32/api/dwrite/nf-dwrite-dwritecreatefactory
[2] https://learn.microsoft.com/en-us/windows/win32/directwrite/idwritefactory2
3 years ago
Steve Lhomme
acad6ed0e1
modules: add LIBCOMCXXFLAGS to C++ modules using LIBCOM
Even though they don't use WRL or IID_PPV_ARGS yet.
Better safe than sorry.
4 years ago
Steve Lhomme
3ee0d28d1c
freetype: compile dwrite.cpp with LIBCOMCXXFLAGS
It's not using LIBCOM when linking but uses WRL with COM objects coming from
DWriteCreateFactory called indirectly. We could later clean the code with
WRL.
5 years ago
Francois Cartegnie
b508504e6d
freetype: blending: refactor and improve speed
webvtt_css_family_fallback_mono.mkv
with forced non zero background
32% less instr for RGBA/YUVA
6 years ago
Francois Cartegnie
e2a6269895
freetype: cache transformed glyph outlines
6 years ago
Francois Cartegnie
151ccdce37
freetype: use cache subsystem
6 years ago
Francois Cartegnie
5f7909edfc
freetype: rework and split font management code
6 years ago
Steve Lhomme
dfa61b58d5
freetype: fix linking for Winstore builds
-luuid is needed as we use IID_IUnknown
Add missing $(AM_LIBADD) messing up the order of libraries
6 years ago
Thomas Guillem
e91b312740
freetype: use FONTCONFIG_LIBS
8 years ago
David Fuhrmann
ed600b3efd
freetype: Append _LDFLAGS to _LINK for all platforms
AM_LDFLAGS needs to be removed as this is already added to the
standard LINK flags (and adding those flags twice is not allowed).
8 years ago
David Fuhrmann
ad1e9416b0
freetype: Fix compilation on macOS
Usually, the per-target _LINK variable is autogenerated, taking
into account used languages based on file extension, and also
per-target _LDFLAGS. Due to #17827 , _LINK for this module is
explicitly overridden, and therefore the per-target _LDFLAGS are not
respected, which leads to compilation failure.
This is a quick fix to make macOS compile again. The problem
affects all platforms however, and a better solution shall be found
later.
8 years ago
Pierre Lamot
81382ead7b
freetype: fix No subtitles on Win 7 with 64bit
fix : #19093
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 years ago
Hugo Beauzée-Luyssen
7be1a6a3f4
text_renderer: Pass FREETYPE_LIBS as the last library
Fix win32 build
9 years ago
Marvin Scholz
3ac5f1f5b6
NSSpeechSynthesizer: Add missing $(AM_LDFLAGS)
This prevents that a versioned dylib is built, as it is unwanted for
modules.
10 years ago
Hugo Beauzée-Luyssen
8c295c79d4
freetype: Makefile: Don't link with libc++ when unrequired
Fix #17827
10 years ago
Hugo Beauzée-Luyssen
9e393d0a45
freetype: Makefile: Group win32 parts together
10 years ago
Salah-Eddin Shaban
7eb2492c44
FreeType: Font fallback using DirectWrite
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
10 years ago
Konstantin Pavlov
aaa0687af0
Revert "freetype: fix static linking."
This reverts commit 6c76cb23b0 .
10 years ago
Konstantin Pavlov
6c76cb23b0
freetype: fix static linking.
10 years ago
Hugo Beauzée-Luyssen
d2080f5bcc
modules: Don't enforce linkage to -lole32
10 years ago
Jean-Baptiste Kempf
21fa1cb48b
configure: provide a HAVE_WIN32_DESKTOP
10 years ago
Jean-Baptiste Kempf
1e11d864b2
Move Freetype to a subfolder
It makes it more clear that text_layout* and platform_fonts* are
Freetype2 specific
11 years ago
Jean-Baptiste Kempf
383a83fe97
Remove Win32text module
11 years ago
Jean-Baptiste Kempf
fb66c9392a
Remove QuartzText module
11 years ago
Felix Paul Kühne
8fba7c5840
freetype: replace legacy Mac selector with a re-write based on CoreText
This removes a Carbon dependency and adds support for tvOS and iOS
11 years ago
Jean-Baptiste Kempf
34b3bbcd09
text_renderers: clean the Makefile
11 years ago
Jean-Baptiste Kempf
e85a00c7fa
Freetype: split OS X code to its own file
11 years ago
Jean-Baptiste Kempf
c6e7cc75da
Freetype: split Android code to its own file
11 years ago
Jean-Baptiste Kempf
b54170d59b
Freetype: split fontconfig management to its own file
11 years ago
Jean-Baptiste Kempf
41eb7f4e1a
Freetype: split Win32 code in its own file
11 years ago
Salah-Eddin Shaban
fd07f90e45
freetype: font fallback for Windows
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Petri Hintukainen
d48032f7bc
Add configure check for sapi.h
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Jean-Baptiste Kempf
a7eb0f0aa5
Add a SAPI synthetizer for Windows
This is the work from Moti Zilberman, modified by me to build and
integrate in-tree
It's heavily inspired on the OS X one.
Be careful: you need a very recent Mingw-W64 to hope to compile it.
Ref #11893
11 years ago
Felix Paul Kühne
7ea5c465d0
text renderer: add basic text to speech synthesis for OS X ( #11893 )
11 years ago
Jean-Baptiste Kempf
e8ee1c23b9
Freetype: Remove text_renderer.*
11 years ago
Salah-Eddin Shaban
57cb3e533f
freetype: use HarfBuzz for text shaping
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Felix Paul Kühne
22316cd55a
freetype: fix linking on Darwin
12 years ago
Rémi Denis-Courmont
4e6d0f6fde
Add missing rpath
12 years ago
Rafaël Carré
2693386082
quartztext: fix typo
12 years ago
Rafaël Carré
2f675d8c88
svg: don't build as a static library
12 years ago
Rafaël Carré
bd76cebbef
Keep using previous text_renderer install folder
12 years ago
Rémi Denis-Courmont
cf84ed937a
text_renderer: remove Makefile recursion
12 years ago