reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
reuk
ba37f915d6
Font: Fix issue where style changes may also affect the typeface of a Font
On Windows, calls to `createSystemTypefaceFor` with a data buffer always
create a WindowsTypeface instance. However, calls with an existing
`Font` instance may try to create a WindowsDirectWriteTypeface, and will
only fall back to using a WindowsTypeface on failure.
Previously, a missing typeface wasn't treated as a failure, which meant
that `WindowsDirectWriteTypeface` would fall back to the first usable
typeface it could find.
With this change applied, we check whether the
WindowsDirectWriteTypeface actually managed to find the font we
requested, and will fall back to using a plain WindowsTypeface in that
case.
4 years ago
ed
009d685179
Updated all license headers
5 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
jules
c9d05caaae
Replaced win32 font kerning tables with maps to improve performance
6 years ago
jules
dee78f29f6
Misc cleanups and modernisation
7 years ago
hogliux
269c1f27fd
Win32: Fixed a bug where certain unicode characters (> 0x8000) would not be displayed correctly on Windows
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
8 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
Timur Doumler
dca4d77f9d
Fixed compiler warnings on Visual Studio 2015 RTM.
10 years ago
hogliux
c7b8e77031
Update copyright notice
10 years ago
jules
e5d89355d1
Win XP font style selection fix.
10 years ago
jules
75770f293c
New class: SharedResourcePointer
11 years ago
jules
dfda7c77fc
Workarounds for some mingw build problems.
11 years ago
jules
1de23b2c06
Workaround for DirectWrite failing to load certain fonts.
11 years ago
jules
ffb4572104
Fix for DPI of win32 fonts sizes when specified in points.
11 years ago
jules
64a38ea6ee
Sanity-checked places where introjucer GUI editor added TRANS macros.
11 years ago
jules
d3b92ab447
Fix for win32 memory font loading.
11 years ago
jules
d8c065c81f
Added functionality for loading in-memory fonts! See Typeface::createSystemTypefaceFor()
11 years ago
jules
05cd003f4b
Made Times New Roman the default serif font on Windows.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
2d6135a6db
Added some methods for scanning font folders with FreeType.
12 years ago
jules
a07ce814eb
win32 font point size fixes.
12 years ago
jules
2ae82c4db4
New method Font::withPointHeight, for specifying font sizes in points.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
9a7e7a267a
New method: Rectangle::constainedWithin().
12 years ago
jules
941907a3d1
Initial commit of font style access, providing access to the styles available for each font family.
13 years ago
jules
4773b388ef
AttributedString class and advanced text layout (stage 1)
13 years ago
jules
c9cdf073dd
Couple of small win32 fixes. Cleaned up win32 registry code.
13 years ago
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
14 years ago
Julian Storer
0853a9b686
Removed const-ness from some return types to take advantage of future c++0x advantages.
14 years ago
Julian Storer
9226bfba49
Fixed win32 horizontal scroll wheel direction. Big internal refactoring of win32 typeface implementation. Added some functionality to SortedSet. Fixed a mac main menu bug.
14 years ago
Julian Storer
67e22bbb56
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
14 years ago
Julian Storer
328cc11713
Removed the initialiseJuce_NonGUI() and shutdownJuce_NonGUI() methods - these aren't needed any more. Removed some old MidiOutput methods which weren't cross-platform. OpenGLComponent updates. Extra DropShadower safety.
14 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
fa04e0cf93
win32 font name length fix. Tidied up ScopedLock class structure, creating some templated classes for generic RAII locking.
14 years ago
Julian Storer
7485498ee7
Minor clean-ups.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
e235912ae5
Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats.
14 years ago
Julian Storer
0a9cbd36c4
Minor tweaks to MidiMessage, Label. Removed some intel compiler warnings.
14 years ago
Julian Storer
e17dfb559f
Fix for copying NamedValueSets, removed some win32 DC warnings. Removed the obj-C suffix setting from the jucer's global settings. Updated the Jucer to generate correct iPhone/iPad apps for iOS4. Renamed some of the demo build folders from "iPhone" to "iOS".
14 years ago
Julian Storer
952b8c3940
Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes.
14 years ago