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

Unified Diff: third_party/freetype2/src/src/pcf/pcfutil.h

Issue 1524973002: Update freetype sources (2.6.2) in third party. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | « third_party/freetype2/src/src/pcf/pcfread.c ('k') | third_party/freetype2/src/src/pcf/pcfutil.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype2/src/src/pcf/pcfutil.h
diff --git a/third_party/smhasher/LICENSE b/third_party/freetype2/src/src/pcf/pcfutil.h
similarity index 58%
copy from third_party/smhasher/LICENSE
copy to third_party/freetype2/src/src/pcf/pcfutil.h
index 3f18a844ad0be4ca83c084b9cff5bcf020704b1e..ce10fb541d5fe083fd7d4b294c6119f455016e2f 100644
--- a/third_party/smhasher/LICENSE
+++ b/third_party/freetype2/src/src/pcf/pcfutil.h
@@ -1,8 +1,9 @@
-All MurmurHash source files are placed in the public domain.
+/* pcfutil.h
-The license below applies to all other code in SMHasher:
+ FreeType font driver for pcf fonts
-Copyright (c) 2011 Google, Inc.
+ Copyright 2000, 2001, 2004 by
+ Francesco Zappa Nardelli
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -16,8 +17,39 @@ all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+*/
+
+
+#ifndef __PCFUTIL_H__
+#define __PCFUTIL_H__
+
+
+#include <ft2build.h>
+#include FT_CONFIG_CONFIG_H
+
+
+FT_BEGIN_HEADER
+
+ FT_LOCAL( void )
+ BitOrderInvert( unsigned char* buf,
+ size_t nbytes );
+
+ FT_LOCAL( void )
+ TwoByteSwap( unsigned char* buf,
+ size_t nbytes );
+
+ FT_LOCAL( void )
+ FourByteSwap( unsigned char* buf,
+ size_t nbytes );
+
+FT_END_HEADER
+
+#endif /* __PCFUTIL_H__ */
+
+
+/* END */
« no previous file with comments | « third_party/freetype2/src/src/pcf/pcfread.c ('k') | third_party/freetype2/src/src/pcf/pcfutil.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698