From 3742faaf94d389a37dd0b8ea0a49beee6facef0c Mon Sep 17 00:00:00 2001 From: "(Holloway) Chew, Kean Ho" Date: Mon, 4 Mar 2024 14:57:00 +0800 Subject: [PATCH] scanners: added Libre Barcode 128 font Since barcode is a vital functioning font, we should integrate it in. Hence, let's add Libre Barcode 128 font. This patch adds Libre Barcode 128 font in scanners/ directory. Co-authored-by: Galyna, Cory Co-authored-by: (Holloway) Chew, Kean Ho Signed-off-by: (Holloway) Chew, Kean Ho --- scanners/libre-barcode-128/LICENSE.txt | 93 ++++++++++++++++++ .../LibreBarcode128-Regular.ttf | Bin 0 -> 22144 bytes scanners/libre-barcode-128/README.md | 20 ++++ 3 files changed, 113 insertions(+) create mode 100644 scanners/libre-barcode-128/LICENSE.txt create mode 100644 scanners/libre-barcode-128/LibreBarcode128-Regular.ttf create mode 100644 scanners/libre-barcode-128/README.md diff --git a/scanners/libre-barcode-128/LICENSE.txt b/scanners/libre-barcode-128/LICENSE.txt new file mode 100644 index 0000000..7304a35 --- /dev/null +++ b/scanners/libre-barcode-128/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright 2017-2019 The Libre Barcode Project Authors (https://github.com/graphicore/librebarcode) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/scanners/libre-barcode-128/LibreBarcode128-Regular.ttf b/scanners/libre-barcode-128/LibreBarcode128-Regular.ttf new file mode 100644 index 0000000000000000000000000000000000000000..bd8db3e8ed6c7f200e0d6ffb74c15a56ba360647 GIT binary patch literal 22144 zcmeHPdvKi9b-!nKwR*p--IZZMd}3{5td%TVeu0ItclEH5v1Q4IUGdu0YW1-7vL3cD zA&@`_5hbA^ZJLs_X-Jb0()3$7X?QhFASFp5NfXk9)?}s~W;&T+nqit``UffWcfNbR zwY2^q)9`6J)5&^P_x$cX_uO-S_uR)myo!`k)#`5LRny)5$6{aTe{xbOdIGf_hx<2g z?OS~PLEzs2r!o`i>Dcq$C8az!TlmzRQG9p#XVJbNc*pSc$i!gF8+Rym(Thq|Rg9!( zr%_*nC-*NI8NYq_+dq8li%MPbvQjOd8_lMN*1kIYUG%>j?K?(M;k$(P0j~pIH##x5 zu=W+TRjDFFDeuhqR3`o6_g-FrJOrI*CejPj^wX*nkbTfMCestyqd%Bz!cZTB&KIVq zX6HV9aq;_dk3-){{WBUwOC{5AIh6`%y(5T?db<5_pdX;;}4d(&KZe6Z>eh zYEeV5k-}e6lgdXu^pGloKZ}<29$nI{;QV#AWjS6_qk4p6Xw0hPk2ll-6D|JXU zs|wU}Z~MWKzM{^lo+s3I`Vu*!4<}7}vII6W(>YZfTUtwM6ANc6OQ=jsLBA!H#Gdlr z4P)h~EsZ^eAXt8qo$Sc1qx+8}%)R#~7!P&iHZp#qMCl6Ekqqaq;HsxeV8XZe{>)KJ z6Ak=0TkWT+O;6BUA259n<~*w7Y|)Tkb#$=To2-9Hb-((W`gaOa2hGxF=!YKV+3dO1 z^PuM$&u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