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

Side by Side Diff: Source/wtf/unicode/CharacterNames.h

Issue 593673003: Different fonts selected for width calculation and actual painting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ellipsis_not_present
Patch Set: Created 6 years, 3 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) 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 30 matching lines...) Expand all
41 const UChar blackCircle = 0x25CF; 41 const UChar blackCircle = 0x25CF;
42 const UChar blackSquare = 0x25A0; 42 const UChar blackSquare = 0x25A0;
43 const UChar blackUpPointingTriangle = 0x25B2; 43 const UChar blackUpPointingTriangle = 0x25B2;
44 const UChar bullet = 0x2022; 44 const UChar bullet = 0x2022;
45 const UChar bullseye = 0x25CE; 45 const UChar bullseye = 0x25CE;
46 const UChar carriageReturn = 0x000D; 46 const UChar carriageReturn = 0x000D;
47 const UChar characterTabulation = 0x0009; 47 const UChar characterTabulation = 0x0009;
48 const UChar ethiopicPrefaceColon = 0x1366; 48 const UChar ethiopicPrefaceColon = 0x1366;
49 const UChar ethiopicWordspace = 0x1361; 49 const UChar ethiopicWordspace = 0x1361;
50 const UChar fisheye = 0x25C9; 50 const UChar fisheye = 0x25C9;
51 const UChar fullstopCharacter = 0x002E;
51 const UChar hebrewPunctuationGeresh = 0x05F3; 52 const UChar hebrewPunctuationGeresh = 0x05F3;
52 const UChar hebrewPunctuationGershayim = 0x05F4; 53 const UChar hebrewPunctuationGershayim = 0x05F4;
53 const UChar HiraganaLetterSmallA = 0x3041; 54 const UChar HiraganaLetterSmallA = 0x3041;
54 const UChar horizontalEllipsis = 0x2026; 55 const UChar horizontalEllipsis = 0x2026;
55 const UChar hyphen = 0x2010; 56 const UChar hyphen = 0x2010;
56 const UChar hyphenMinus = 0x002D; 57 const UChar hyphenMinus = 0x002D;
57 const UChar ideographicComma = 0x3001; 58 const UChar ideographicComma = 0x3001;
58 const UChar ideographicFullStop = 0x3002; 59 const UChar ideographicFullStop = 0x3002;
59 const UChar ideographicSpace = 0x3000; 60 const UChar ideographicSpace = 0x3000;
60 const UChar leftDoubleQuotationMark = 0x201C; 61 const UChar leftDoubleQuotationMark = 0x201C;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 using WTF::Unicode::blackCircle; 99 using WTF::Unicode::blackCircle;
99 using WTF::Unicode::blackSquare; 100 using WTF::Unicode::blackSquare;
100 using WTF::Unicode::blackUpPointingTriangle; 101 using WTF::Unicode::blackUpPointingTriangle;
101 using WTF::Unicode::bullet; 102 using WTF::Unicode::bullet;
102 using WTF::Unicode::bullseye; 103 using WTF::Unicode::bullseye;
103 using WTF::Unicode::carriageReturn; 104 using WTF::Unicode::carriageReturn;
104 using WTF::Unicode::characterTabulation; 105 using WTF::Unicode::characterTabulation;
105 using WTF::Unicode::ethiopicPrefaceColon; 106 using WTF::Unicode::ethiopicPrefaceColon;
106 using WTF::Unicode::ethiopicWordspace; 107 using WTF::Unicode::ethiopicWordspace;
107 using WTF::Unicode::fisheye; 108 using WTF::Unicode::fisheye;
109 using WTF::Unicode::fullstopCharacter;
108 using WTF::Unicode::hebrewPunctuationGeresh; 110 using WTF::Unicode::hebrewPunctuationGeresh;
109 using WTF::Unicode::hebrewPunctuationGershayim; 111 using WTF::Unicode::hebrewPunctuationGershayim;
110 using WTF::Unicode::HiraganaLetterSmallA; 112 using WTF::Unicode::HiraganaLetterSmallA;
111 using WTF::Unicode::horizontalEllipsis; 113 using WTF::Unicode::horizontalEllipsis;
112 using WTF::Unicode::hyphen; 114 using WTF::Unicode::hyphen;
113 using WTF::Unicode::hyphenMinus; 115 using WTF::Unicode::hyphenMinus;
114 using WTF::Unicode::ideographicComma; 116 using WTF::Unicode::ideographicComma;
115 using WTF::Unicode::ideographicFullStop; 117 using WTF::Unicode::ideographicFullStop;
116 using WTF::Unicode::ideographicSpace; 118 using WTF::Unicode::ideographicSpace;
117 using WTF::Unicode::leftDoubleQuotationMark; 119 using WTF::Unicode::leftDoubleQuotationMark;
(...skipping 22 matching lines...) Expand all
140 using WTF::Unicode::whiteCircle; 142 using WTF::Unicode::whiteCircle;
141 using WTF::Unicode::whiteSesameDot; 143 using WTF::Unicode::whiteSesameDot;
142 using WTF::Unicode::whiteUpPointingTriangle; 144 using WTF::Unicode::whiteUpPointingTriangle;
143 using WTF::Unicode::yenSign; 145 using WTF::Unicode::yenSign;
144 using WTF::Unicode::zeroWidthJoiner; 146 using WTF::Unicode::zeroWidthJoiner;
145 using WTF::Unicode::zeroWidthNonJoiner; 147 using WTF::Unicode::zeroWidthNonJoiner;
146 using WTF::Unicode::zeroWidthSpace; 148 using WTF::Unicode::zeroWidthSpace;
147 using WTF::Unicode::zeroWidthNoBreakSpace; 149 using WTF::Unicode::zeroWidthNoBreakSpace;
148 150
149 #endif // CharacterNames_h 151 #endif // CharacterNames_h
OLDNEW
« Source/core/rendering/RenderText.cpp ('K') | « Source/core/rendering/RenderText.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698