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

93 commits

Author SHA1 Message Date
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
jules
65c155e372 Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files. 2013-08-23 12:08:31 +01:00
jules
45b56e2e20 Minor clean-ups around the Justification class. 2013-08-20 17:27:41 +01:00
jules
3d74717349 Bit of tidying-up in the Point class, and some spelling fixes in comments. 2013-07-22 13:18:29 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00
jules
5918d039ce Added some "override" annotations. 2013-07-08 19:05:14 +01:00
jules
13304ac410 Text layout fix when using newlines with certain fonts on OSX. 2013-07-08 17:04:25 +01:00
jules
c5f1e86cb3 Added some point-size accessor methods to Font. 2013-07-06 10:28:24 +01:00
jules
2091e8dfc8 Replaced a few Justification references. 2013-07-01 22:07:39 +01:00
jules
2329e63f20 Converted a few Colour references to pass-by-values. 2013-07-01 17:38:47 +01:00
jules
1a49c7fc5b TextLayout whitespace fix. 2013-06-29 12:03:29 +01:00
jules
146155bd34 Software text layout fix. 2013-06-29 11:02:34 +01:00
jules
b0e1cbd0ee Fix for single-character TextLayout width. 2013-06-19 19:55:17 +01:00
jules
e05393c36d Windows default font fix. 2013-06-16 21:48:02 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
c7506df13f Changed some pass-by-references to pass-by-value to improve compiler optimisation. 2013-05-22 23:05:53 -06:00
jules
f790148bf6 Text layout fix for single-character strings. 2013-05-15 11:15:39 -06:00
jules
2d6135a6db Added some methods for scanning font folders with FreeType. 2013-04-21 20:47:29 +01:00
jules
3daf0a4015 Fix for CustomTypeface. 2013-04-03 20:18:59 +01:00
jules
136041daa7 Fixed a couple of base-class copying typos and prevented copying of ReferenceCountedObject bases. 2013-03-08 15:13:07 +00:00
jules
d0135d9efc Worked around a GCC compiler bug. Also tidied up a bunch of GCC warnings. 2013-03-08 14:07:51 +00:00
jules
7a3453f48b Minor clean-ups. 2012-12-31 19:10:54 +00:00
jules
5d35a31f2e Minor clean-ups and documentation fixes. 2012-12-20 21:26:12 +00:00
jules
ccc89aaae9 Minor tidying-up. 2012-12-20 20:46:17 +00:00
jules
6846b71ea4 Minor tweak to the GlyphArrangement word-splitting algorithm. 2012-12-20 13:59:51 +00:00
jules
2ae82c4db4 New method Font::withPointHeight, for specifying font sizes in points. 2012-12-17 21:27:23 +00:00