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

Unified Diff: core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2font.c

Issue 294353002: Fix warnings in android build, fix font rendering issue, fix issue 357588: wrong characters represe… (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Patch Set after rebase Created 6 years, 7 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
« no previous file with comments | « core/src/fxge/dib/fx_dib_transform.cpp ('k') | core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2ft.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2font.c
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2font.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2font.c
index c1eeec289ab54d5e14994f7ceed99965ac64e587..479d9125d150d948815227784621aa49d57a7b4d 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2font.c
+++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2font.c
@@ -328,7 +328,6 @@
FT_Error lastError = FT_Err_Ok;
FT_Vector translation;
- int refCount = 0;
#if 0
FT_Vector advancePoint;
@@ -355,7 +354,7 @@
/* winding order only affects darkening */
needWinding = font->darkened;
- while ( refCount++ < 1024)
+ while ( 1 )
{
/* reset output buffer */
cf2_outline_reset( &font->outline );
« no previous file with comments | « core/src/fxge/dib/fx_dib_transform.cpp ('k') | core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2ft.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698