1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00
Commit graph

118 commits

Author SHA1 Message Date
jules
2fcb8fa71b Added some prototype function definitions to avoid compiler warnings for people who enable the "missing prototype" flag 2017-10-09 15:39:22 +01:00
jules
970eda679e Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting! 2017-10-09 12:38:06 +01:00
jules
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +01:00
jules
27a6903cac Changed the way isPositiveAndBelow is written to avoid needing to cast the second parameter to an int 2017-09-27 12:24:02 +01:00
jules
06d6a08892 Tweaked TextLayout::createLayoutWithBalancedLineLengths() to improve line length balancing 2017-09-27 10:50:09 +01:00
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 2017-09-08 08:59:55 +01:00
jules
66fa7e7411 Added some assertions to catch use of some Font methods on background threads 2017-07-06 11:45:26 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
bf94ab0e4c Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings 2017-04-21 15:09:35 +01:00
jules
89ad7eb0a4 Modernised some code in some text layout classes, and made TextLayout draw underlining where the font asks for it 2017-04-06 10:55:48 +01:00
hogliux
5fe3289256 Fixed several Android text rendering bugs 2017-03-01 16:16:34 +00:00
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
jules
871c3a9108 Removed some code that prevented RTL TextLayouts having their bounds adjusted 2016-04-14 16:34:26 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
Timur Doumler
70949aa0c6 Added several new features: support for AudioUnit v3, new simplified JUCE module format, deleted the Introjucer and replaced it by the Projucer, various improvements for exporting of iOS and Android projects. 2016-04-06 18:31:24 +01:00
jules
1a7caaa58f Refactored AttributedString so that every part of the string has a single font and colour associated with it, to avoid some problems caused by fonts being undefined. 2016-01-03 13:16:18 +00:00
jules
2a1234b6ac Simplified some inter-module dependencies and exception-catching fallbacks 2015-12-23 11:47:18 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
eb99390413 TextLayout: made the fallback layout algorithm make use of AttributedString::getLineSpacing() 2015-11-25 09:58:16 +00:00
jules
7a27686d96 Fix for a layout truncation problem in GlyphArrangement when splitting across many lines. 2015-09-28 17:12:37 +01:00
jules
9a1a58c454 Tweaked Font::getStringWidth to round-up the value it returns as an int. 2015-07-24 15:55:37 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
Timur Doumler
d46ea64aa5 LookAndFeel: added method to specify a custom font for Alert Window title. 2015-07-17 09:52:50 +01:00
hogliux
1986f9b2ad Fix TextLayout height when string is empty 2015-04-08 10:43:11 +01:00
jules
4e4a9968a3 Reverted my typo that had changed the minimum font horizontal scale from the old default 0.7 2015-03-19 15:40:48 +00:00
jules
844d9e8d86 Added method Font::getDefaultMinimumHorizontalScaleFactor() to make it possible to change the global minimum font squashing amount. 2015-03-17 11:41:14 +00:00
jules
94a0793a09 Prevented drawFittedText from messing up the graphics context's current font. 2015-02-02 13:00:48 +00:00
jules
a49baa3e52 Modified TextLayout creation functions to take an optional maximum height as well as a maximum width. 2014-12-29 12:07:31 +00:00
jules
50a55b2e9c Avoided a few compiler warnings. 2014-12-03 11:45:15 +00:00
jules
36e7c12504 Fix for some VC compiler warnings. 2014-07-01 18:50:42 +01:00
jules
02460bb95b A bit of refactoring inside GlyphArrangement, to avoid som edge-cases where the wrong number of lines is chosen. 2014-06-29 14:34:26 +01:00
jules
171ef8dd4b Workarounds for AttributedString layout when using from-memory fonts on Windows. 2014-06-28 21:36:01 +01:00
jules
fda9e97298 Workaround for layout of CustomTypefaces on OSX 2014-05-16 09:53:38 +01:00
jules
de6c80bb98 Clarified some documentation 2014-05-11 09:34:57 +01:00
jules
f4c83a9411 Fix for a very obscure race-condition involving font string initialisation. 2014-04-05 17:39:31 +01:00
jules
d416a425d6 Added some documentation to CustomTypeface. 2014-03-13 16:23:34 +00:00
jules
76c8400049 Really minor clean-ups. 2014-01-12 18:06:48 +00:00
jules
01dc36d29d Tiny tweak to the typeface hinting algorithm. 2014-01-12 17:14:19 +00:00
jules
42bff200ed Improved the vertical font hinting algorithm and removed some duplicated typeface code. 2014-01-05 19:46:13 +00:00
jules
ae291475d6 Avoided a GL symbol redefinition and a warning in MSVC. 2014-01-03 14:33:37 +00:00
jules
a1a43ea418 Tweaks to font-rendering: fonts are now vertically hinted by finding the best overall scale that will make the most common horizontal features better aligned. Changed the font gamma to be greater when rendering with brighter colours. 2014-01-02 22:00:47 +00:00
jules
d8c065c81f Added functionality for loading in-memory fonts! See Typeface::createSystemTypefaceFor() 2013-12-19 15:39:30 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
2623f4d1e1 Added method String::clear(), and used it to replace a few uses of String::empty. 2013-12-01 11:32:39 +00:00
jules
a8984031ba Made sure that glyph caches are flushed along with the typeface cache. 2013-10-23 11:50:04 +01:00
jules
349d3d423f Fix for software text layout colour of single-character strings. 2013-10-11 21:56:44 +01:00
jules
af87a2eda6 Added some thread-safety to typeface caching, and optimised default font construction. 2013-09-24 13:37:00 +01:00
jules
d28ebfdb36 Stripped out some unnecessary boilerplate includes from juce_graphics. 2013-08-24 10:49:25 +01:00