diff options
Diffstat (limited to 'misc/ttf2woff/zopfli/util.c')
-rw-r--r-- | misc/ttf2woff/zopfli/util.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/misc/ttf2woff/zopfli/util.c b/misc/ttf2woff/zopfli/util.c new file mode 100644 index 000000000..428961c46 --- /dev/null +++ b/misc/ttf2woff/zopfli/util.c @@ -0,0 +1,35 @@ +/* +Copyright 2011 Google Inc. All Rights Reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +Author: lode.vandevenne@gmail.com (Lode Vandevenne) +Author: jyrki.alakuijala@gmail.com (Jyrki Alakuijala) +*/ + +#include "util.h" + +#include "zopfli.h" + +#include <assert.h> +#include <stdio.h> +#include <stdlib.h> + +void ZopfliInitOptions(ZopfliOptions* options) { + options->verbose = 0; + options->verbose_more = 0; + options->numiterations = 15; + options->blocksplitting = 1; + options->blocksplittinglast = 0; + options->blocksplittingmax = 15; +} |