4 years, 8 months ago
(2016-04-12 20:49:33 UTC)
#1
Patchset #1 (id:1) has been deleted
Ilya Kulshin
Patchset #1 (id:20001) has been deleted
4 years, 8 months ago
(2016-04-12 20:49:40 UTC)
#2
Patchset #1 (id:20001) has been deleted
Ilya Kulshin
Patchset #1 (id:40001) has been deleted
4 years, 8 months ago
(2016-04-12 20:49:47 UTC)
#3
Patchset #1 (id:40001) has been deleted
Ilya Kulshin
Patchset #1 (id:60001) has been deleted
4 years, 8 months ago
(2016-04-12 20:49:56 UTC)
#4
Patchset #1 (id:60001) has been deleted
Ilya Kulshin
Patchset #1 (id:80001) has been deleted
4 years, 8 months ago
(2016-04-12 20:50:03 UTC)
#5
Patchset #1 (id:80001) has been deleted
Ilya Kulshin
Description was changed from ========== Implement direct write fallback proxy Implement filter unit tests and ...
4 years, 8 months ago
(2016-04-12 20:56:12 UTC)
#6
Description was changed from
==========
Implement direct write fallback proxy
Implement filter unit tests and add support for locale.
In progress: implement message definition and handler
BUG=
==========
to
==========
Implement direct write fallback proxy
This change implements an IDWriteFontFallback that uses IPC to talk to
the browser process and obtain font fallback data.
This is part 2 of a three part change.
1: https://codereview.chromium.org/1878843002/
Adds support for specifying a font fallback in skia
2: https://codereview.chromium.org/1846433005/
Implements the fallback proxy in Chromium
3: https://codereview.chromium.org/1883483002/
Adds code to blink to call skia's fallback API
BUG=459056
==========
https://codereview.chromium.org/1846433005/diff/120001/content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc File content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc (right): https://codereview.chromium.org/1846433005/diff/120001/content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc#newcode237 content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc:237: result->mapped_length = text.length(); Does the rest of MapCharactersResult need ...
4 years, 8 months ago
(2016-04-13 21:23:17 UTC)
#11
4 years, 8 months ago
(2016-04-13 22:31:29 UTC)
#12
https://codereview.chromium.org/1846433005/diff/120001/content/browser/render...
File content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc
(right):
https://codereview.chromium.org/1846433005/diff/120001/content/browser/render...
content/browser/renderer_host/dwrite_font_proxy_message_filter_win.cc:237:
result->mapped_length = text.length();
On 2016/04/13 21:23:16, scottmg wrote:
> Does the rest of MapCharactersResult need to be initialized for early return?
The rest of the structure is default-initialized, which is fine for early
return, but I'll add initializers to be explicit.
https://codereview.chromium.org/1846433005/diff/120001/content/browser/render...
File
content/browser/renderer_host/dwrite_font_proxy_message_filter_win_unittest.cc
(right):
https://codereview.chromium.org/1846433005/diff/120001/content/browser/render...
content/browser/renderer_host/dwrite_font_proxy_message_filter_win_unittest.cc:69:
EXPECT_GT(base::win::VERSION_WIN8_1, base::win::GetVersion());
On 2016/04/13 21:23:16, scottmg wrote:
> EXPECT_LT(GetVersion(), WIN8_1) would be easier to read.
>
>
Done.
https://codereview.chromium.org/1846433005/diff/120001/content/browser/render...
content/browser/renderer_host/dwrite_font_proxy_message_filter_win_unittest.cc:216:
On 2016/04/13 21:23:16, scottmg wrote:
> Can you add a test here for something that this is trying to address?
(language
> fallback or whatever)
In a unittest, I'd rather not, since the ability to fallback on other languages
depends on having fonts for those languages installed on the system. The logic
for latin vs other fallback should be the same, at least as far as our code is
concerned. I could in theory mock out the system fallback, but that's a lot of
work for questionable benefit. I am adding an end-to-end test that validates
fallback as a blink layout test in part 3, so that case will ultimately still be
covered.
https://codereview.chromium.org/1846433005/diff/120001/content/child/dwrite_f...
File content/child/dwrite_font_proxy/font_fallback_win_unittest.cc (right):
https://codereview.chromium.org/1846433005/diff/120001/content/child/dwrite_f...
content/child/dwrite_font_proxy/font_fallback_win_unittest.cc:1: // Copyright
(c) 2016 The Chromium Authors. All rights reserved.
On 2016/04/13 21:23:16, scottmg wrote:
> nit; no (c) (in a couple others too)
Done.
https://codereview.chromium.org/1846433005/diff/120001/content/common/dwrite_...
File content/common/dwrite_font_proxy_messages.h (right):
https://codereview.chromium.org/1846433005/diff/120001/content/common/dwrite_...
content/common/dwrite_font_proxy_messages.h:37:
IPC_STRUCT_MEMBER(DWriteFontStyle, font_style)
On 2016/04/13 21:23:16, scottmg wrote:
> font_style doesn't seem to be used in OnMapCharacters()?
Nice catch! Apparently DirectWrite doesn't care if I feed it all zeroes, but
good to preserve the style all the same.
https://codereview.chromium.org/1846433005/diff/100001/content/common/dwrite_text_analysis_source_win.h File content/common/dwrite_text_analysis_source_win.h (right): https://codereview.chromium.org/1846433005/diff/100001/content/common/dwrite_text_analysis_source_win.h#newcode18 content/common/dwrite_text_analysis_source_win.h:18: class CONTENT_EXPORT TextAnalysisSource On 2016/04/13 23:31:09, ananta wrote: > ...
4 years, 8 months ago
(2016-04-13 23:59:40 UTC)
#15
https://codereview.chromium.org/1846433005/diff/100001/content/common/dwrite_...
File content/common/dwrite_text_analysis_source_win.h (right):
https://codereview.chromium.org/1846433005/diff/100001/content/common/dwrite_...
content/common/dwrite_text_analysis_source_win.h:18: class CONTENT_EXPORT
TextAnalysisSource
On 2016/04/13 23:31:09, ananta wrote:
> On 2016/04/13 01:33:29, Ilya Kulshin wrote:
> > On 2016/04/12 23:44:39, ananta wrote:
> > > Please add some comments about when this class is used, etc.
> >
> > This class doesn't really have any special use aside from being useful when
> > someone needs a really basic implementation of IDWriteTextAnalysisSource.
Can
> > you explain what information you would like to see in a comment?
>
> If we have a use case in the current patch, pointing to that would be helpful
> for reference.
Such a comment would certainly become outdated, and would be hard to notice that
it needs to be updated at that time. Since TextAnalysisSource is not a common
token, actual users can be easily found with codesearch.
On the question of being used specifically in this patch, it is used by
DWriteFontProxyMessageFilter::OnMapCharacters and
FontFallbackUnitTest::MapCharacters.
https://codereview.chromium.org/1846433005/diff/140001/content/child/dwrite_f...
File content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc (right):
https://codereview.chromium.org/1846433005/diff/140001/content/child/dwrite_f...
content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc:75:
mswr::ComPtr<IDWriteFontFallback> fontFallback;
On 2016/04/13 23:18:33, scottmg wrote:
> font_fallback
Done.
https://codereview.chromium.org/1846433005/diff/140001/content/child/dwrite_f...
File content/child/dwrite_font_proxy/dwrite_font_proxy_win.h (right):
https://codereview.chromium.org/1846433005/diff/140001/content/child/dwrite_f...
content/child/dwrite_font_proxy/dwrite_font_proxy_win.h:133: const
base::string16& GetName();
On 2016/04/13 23:31:09, ananta wrote:
> You can change this to family_name() and return the family_name_ member?
I dislike the idea of using different naming conventions for functions within
the same class that only differ in implementation details (in this case, being
inlined vs not). I also would not want to force someone to have to rename the
function if the implementation happens to grow in complexity.
ananta
lgtm
4 years, 8 months ago
(2016-04-15 20:15:51 UTC)
#16
+jochen@ - could I get an owners approval for content/common/* and content/test/*? jschuh@ - could ...
4 years, 8 months ago
(2016-04-15 20:25:46 UTC)
#18
+jochen@ - could I get an owners approval for content/common/* and
content/test/*?
jschuh@ - could I get an owners approval for
content/common/dwrite_font_proxy_messages.h?
jschuh
On 2016/04/15 20:25:46, Ilya Kulshin wrote: > +jochen@ - could I get an owners approval ...
4 years, 8 months ago
(2016-04-15 21:43:27 UTC)
#19
On 2016/04/15 20:25:46, Ilya Kulshin wrote:
> +jochen@ - could I get an owners approval for content/common/* and
> content/test/*?
> jschuh@ - could I get an owners approval for
> content/common/dwrite_font_proxy_messages.h?
ipc security lgtm
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago
(2016-04-17 17:13:41 UTC)
#20
lgtm
Ilya Kulshin
The CQ bit was checked by kulshin@chromium.org
4 years, 8 months ago
(2016-04-19 18:45:21 UTC)
#21
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846433005/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846433005/280001
4 years, 8 months ago
(2016-04-19 18:45:58 UTC)
#23
Description was changed from ========== Implement direct write fallback proxy This change implements an IDWriteFontFallback ...
4 years, 8 months ago
(2016-04-19 18:57:25 UTC)
#24
Message was sent while issue was closed.
Description was changed from
==========
Implement direct write fallback proxy
This change implements an IDWriteFontFallback that uses IPC to talk to
the browser process and obtain font fallback data.
This is part 2 of a three part change.
1: https://codereview.chromium.org/1878843002/
Adds support for specifying a font fallback in skia
2: https://codereview.chromium.org/1846433005/
Implements the fallback proxy in Chromium
3: https://codereview.chromium.org/1883483002/
Adds code to blink to call skia's fallback API
BUG=459056
==========
to
==========
Implement direct write fallback proxy
This change implements an IDWriteFontFallback that uses IPC to talk to
the browser process and obtain font fallback data.
This is part 2 of a three part change.
1: https://codereview.chromium.org/1878843002/
Adds support for specifying a font fallback in skia
2: https://codereview.chromium.org/1846433005/
Implements the fallback proxy in Chromium
3: https://codereview.chromium.org/1883483002/
Adds code to blink to call skia's fallback API
BUG=459056
==========
commit-bot: I haz the power
Committed patchset #10 (id:280001)
4 years, 8 months ago
(2016-04-19 18:57:26 UTC)
#25
Message was sent while issue was closed.
Committed patchset #10 (id:280001)
commit-bot: I haz the power
Description was changed from ========== Implement direct write fallback proxy This change implements an IDWriteFontFallback ...
4 years, 8 months ago
(2016-04-22 19:14:33 UTC)
#26
Issue 1846433005: Implement direct write fallback proxy
(Closed)
Created 4 years, 8 months ago by Ilya Kulshin
Modified 4 years, 8 months ago
Reviewers: jochen (gone - plz use gerrit), ananta, jschuh, scottmg
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 42