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

Unified Diff: Source/platform/fonts/shaping/HarfBuzzShaper.h

Issue 1242213002: Add tab characters support in complex path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/platform/fonts/shaping/HarfBuzzShaper.h
diff --git a/Source/platform/fonts/shaping/HarfBuzzShaper.h b/Source/platform/fonts/shaping/HarfBuzzShaper.h
index f6b1d5c2facfa26b7613892b913d7c8a3970d6d6..40b07f971526e42f572976ed962ce1fd55064742 100644
--- a/Source/platform/fonts/shaping/HarfBuzzShaper.h
+++ b/Source/platform/fonts/shaping/HarfBuzzShaper.h
@@ -140,6 +140,7 @@ private:
bool createHarfBuzzRunsForSingleCharacter();
PassRefPtr<ShapeResult> shapeHarfBuzzRuns();
void shapeResult(ShapeResult*, unsigned, const HarfBuzzRun*, hb_buffer_t*);
+ void shapeResultForTabulationCharacters(ShapeResult*, unsigned, const HarfBuzzRun*);
float adjustSpacing(ShapeResult::RunInfo*, size_t glyphIndex, unsigned currentCharacterIndex, float& offsetX, float& totalAdvance);
void addHarfBuzzRun(unsigned startCharacter, unsigned endCharacter, const SimpleFontData*, UScriptCode);

Powered by Google App Engine
This is Rietveld 408576698