d77b9ed7dcc42efca33b225c4594a30aab9e709c |
|
12-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Add missing delegates for M preview. - Remove ICU dependency (use the version bundled with platform). - Restructure intelliJ project to move dependencies to module. - Minor fixes to layoutlib tests. TODO: - Load ICU data. - Hyphenator doesn't work. - High quality line breaker not present. Change-Id: I965e096e17bfc97ee995a649c3f4f6f64bb4f70d
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
e644ff8d92ba040d11636be0fb6c433b52bcc6c2 |
|
09-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Don't show warnings for fonts not bundled. The extended font set, used on Nexus 5, new Nexus 7 etc., uses OpenType CFF fonts which don't work well with Java. These fonts are deliberately excluded from the SDK build. This change skips the warnings for the missing fonts. However, we still show warnings for other fonts that failed to load. If the set of fonts bundled with the SDK changes, we will need to update the list of missing fonts in FontFamily_Delegate.java. Change-Id: I3197b5350d048daa09512e8024188909179b1799
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
b0d767dcf17dd393646b8fc3e8c9f46dfe12e230 |
|
04-Aug-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Skip loading otf fonts on Java 6 Change-Id: I9668b84812e9be333d10603657dd911024fc292d
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
84d1d431cfe3e66029380fa038f8816b06da120a |
|
26-Jun-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Update text rendering delegates. The flags for RTL and LTR are simplified in commit 0a1d91862a3822dcbbb412bcd6d69b0f5f079f8b. This change follows up the same in LayoutLib. This also fixes the following bug which incorrectly computed runs with 'en-dash' (\u20132) as RTL. Bug: http://b.android.com/69432 Change-Id: Iaed62d13ce31f107773576ed2ef412be6037cd04
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
130d2353edda445b8e36a6b5e4b176fd748035b0 |
|
20-May-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Layoutlib fixes for L This adds the new delegates that were missing. This starts the work on changes related to Minikin Fonts. There are some changes related to TypedArray that still need to be fixed. Change-Id: Ic2397b64aa3f1f48926e849b14689c47d9ee7f8c
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
45dbfcc781a3926d22571b6ccfa3f27ec896f119 |
|
07-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Improve text rendering and measurement. 1. Fix a bug where baseline of the run was modified while rendering resulting in crooked text in some cases. 2. Use GlyphVector.getLogicalBounds() for text measurement which is more accurate than getVisualBounds(). 3. This change also optimizes text rendering by not computing the advances for individual glyphs when not needed. Change-Id: I66792c4d8f50eaf29afa70bccca1e6c812a3fa28
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
5ad7c183f39df43562c69aba21ea422ad69bdae0 |
|
07-Jan-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Fix the measurement of text bounds. Bug: 12366230 Change-Id: I203b678363dc7b688c744503ee10216baca658a9
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|
0d9c922c9614147d1277cb36cfb7296774415d15 |
|
12-Jul-2013 |
Deepanshu Gupta <deepanshu@google.com> |
Fix text rendering There are still some errors 1. Little vertical clippping for extra tall glyphs. 2. Breaking into scripts isn't perfect which results in incorrect layout of text. Change-Id: I54de3c05eca5e8affb1135c120eea24c3afe8a47
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BidiRenderer.java
|