Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: Source/platform/fonts/WidthIterator.h

Issue 54743004: Rendering text-justify:distribute for 8 bit characters. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add the test case in the TestExpectaions as NeedsRebaseline Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2008, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2008, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Holger Hans Peter Freyther 3 * Copyright (C) 2008 Holger Hans Peter Freyther
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool shouldApplyFontTransforms() const { return m_run.length() > 1 && (m_typ esettingFeatures & (Kerning | Ligatures)); } 90 bool shouldApplyFontTransforms() const { return m_run.length() > 1 && (m_typ esettingFeatures & (Kerning | Ligatures)); }
91 91
92 TypesettingFeatures m_typesettingFeatures; 92 TypesettingFeatures m_typesettingFeatures;
93 HashSet<const SimpleFontData*>* m_fallbackFonts; 93 HashSet<const SimpleFontData*>* m_fallbackFonts;
94 bool m_accountForGlyphBounds; 94 bool m_accountForGlyphBounds;
95 float m_maxGlyphBoundingBoxY; 95 float m_maxGlyphBoundingBoxY;
96 float m_minGlyphBoundingBoxY; 96 float m_minGlyphBoundingBoxY;
97 float m_firstGlyphOverflow; 97 float m_firstGlyphOverflow;
98 float m_lastGlyphOverflow; 98 float m_lastGlyphOverflow;
99 bool m_forTextEmphasis; 99 bool m_forTextEmphasis;
100 bool m_distributeJustification;
100 }; 101 };
101 102
102 } 103 }
103 104
104 #endif 105 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698