mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
78 lines
4.7 KiB
C
78 lines
4.7 KiB
C
|
/* ocrb_woff2.h - OCR-B (EAN/UPC subset) as base 64 string */
|
||
|
/*
|
||
|
libzint - the open source barcode library
|
||
|
Copyright (C) 2023 Robin Stuart <rstuart114@gmail.com>
|
||
|
|
||
|
Redistribution and use in source and binary forms, with or without
|
||
|
modification, are permitted provided that the following conditions
|
||
|
are met:
|
||
|
|
||
|
1. Redistributions of source code must retain the above copyright
|
||
|
notice, this list of conditions and the following disclaimer.
|
||
|
2. Redistributions in binary form must reproduce the above copyright
|
||
|
notice, this list of conditions and the following disclaimer in the
|
||
|
documentation and/or other materials provided with the distribution.
|
||
|
3. Neither the name of the project nor the names of its contributors
|
||
|
may be used to endorse or promote products derived from this software
|
||
|
without specific prior written permission.
|
||
|
|
||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
|
SUCH DAMAGE.
|
||
|
*/
|
||
|
/* SPDX-License-Identifier: BSD-3-Clause */
|
||
|
|
||
|
#ifndef Z_UPCEAN_WOFF2_H
|
||
|
#define Z_UPCEAN_WOFF2_H
|
||
|
|
||
|
/* Adapted from OCR-B font version 0.2 Matthew Skala
|
||
|
* https://tsukurimashou.osdn.jp/ocr.php.en
|
||
|
*
|
||
|
* Copyright Matthew Skala (2011); based on code by Norbert Schwarz (1986, 2011)
|
||
|
*
|
||
|
* "The version in this package descends from a set of Metafont
|
||
|
* definitions by Norbert Schwarz of Ruhr-Universitaet Bochum,
|
||
|
* bearing dates ranging from 1986 to 2010. He originally
|
||
|
* distributed it under a "non-commercial use only"
|
||
|
* restriction but has since released it for unrestricted use
|
||
|
* and distribution. See the README file for more details."
|
||
|
*
|
||
|
* The README states (http://mirrors.ctan.org/fonts/ocr-b.zip)
|
||
|
*
|
||
|
* "As far as the digitization in METAFONT input which I have
|
||
|
* developed, you may freely use, modify, and/or distribute any of
|
||
|
* these files or the resulting fonts, without limitation. A previous
|
||
|
* release of ocr-b only granted rights for non-commercial use; that
|
||
|
* restriction is now lifted."
|
||
|
*/
|
||
|
static const char upcean_woff2[1905] =
|
||
|
"d09GMgABAAAAAAWUAA4AAAAACWwAAAVAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbIBwqBlYARBEICoosiEMLHAABNgIkAxwEIAWCdgcgG3A"
|
||
|
"HUZQNToDsZ0Lmpodml0MocYiJWq3MrpVLZEJ+vN3Pv5v+uQSv2A20nhmlog7VlNREyOZ0r49OVZEJPLVfUR54bvk7Los0CqTnCfSi2iEa0i67dW"
|
||
|
"964kDG5b9/ecD9z/18fqPNwoZRuAHOhvii7ruLDKo8XiYbDftHU5QXfpIPyF9jbUb2MTDyZycgAJasIQ4EseR/EICYK3eoSVfQIMQFAP8DAIDSy"
|
||
|
"8hx1rMeage6wBFgoBvDB9LiAc4UHgCsLrPoC9W0EnDChcgR+dP8Pq0BEgWKj6g5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