diff --git a/config.py b/config.py index bf91666..bf69d0d 100644 --- a/config.py +++ b/config.py @@ -45,14 +45,14 @@ config = { # 노토 산스 모노에서 가타카나/히라가나 # 글리프를 복사할 지에 대한 여부입니다 # 한자는 포함하지 않습니다 - "CopyJapaneseGlyphs": True, + "CopyJapaneseGlyphs": False, # TODO: 이 설정은 아직 동작하지 않습니다 # 노토 산스 모노에서 CJK 공용 한자 글리프를 # 복사할 지에 대한 여부입니다. # 폰트 용량이 매우 커집니다!! # 웹용 폰트의 경우 끄는것을 추천합니다 - "CopyCJKUnifiedIdeographs": True, + "CopyCJKUnifiedIdeographs": False, # TODO: 이 설정은 아직 동작하지 않습니다 # 라틴 글리프를 Hack 폰트에서 더 가져옵니다 diff --git a/kawaiiPatched.ttf b/kawaiiPatched.ttf deleted file mode 100644 index 8aea733..0000000 Binary files a/kawaiiPatched.ttf and /dev/null differ diff --git a/license b/license new file mode 100644 index 0000000..de5df74 --- /dev/null +++ b/license @@ -0,0 +1,80 @@ + qwreeykawaii license v1.0 + +Copyright 2021. Qwreey [qwreey75@gmail.com] + +이 라이선스는 DBAD 라이선스를 기반으로 합니다. +누구든지 이 라이선스 문서의 원본 혹은 수정본을 +복사, 편집, 배포 할 수 있습니다. + +qwreeykawaii 라이선스의 복사 배포 및 수정에 +관한 규정과 조건. + +1. 당신은 이 귀여운 창작물을 가지고 어떠한 + 것이든 할 수 있습니다. 단, 무례하지 마세요. + 무례한 행동은 통상적으로 다음과 같습니다. + + 가. 귀여운 이 창작물을 어떠한 가공도 없이 + 복제하거나, 이름만 바꾸는 것은 무례하며 + 노골적인 저작권 침해입니다. + 나. 귀여운 이 창작물에 음란성 혹은 유해한 + 콘텐츠를 포함시키는 것은 무례합니다. + 귀여운 콘텐츠로 다른이를 해치지 마십시오. + + 그러나 이에만 국한되는것은 아닙니다. + 무엇보다도, 귀여운 타인을 상처주지 마세요. + +2. 당신이 이 창작물을 사용해 많은 이득을 본 + 경우, 귀여운 창작자에게 사랑을 배푸세요. + 인간적인 사람은 귀여운 사람들을 외면하지 + 않습니다. 당신의 커피 한잔을 나눠주세요. + +3. 이 창작물은 어떠한 보증 없이 제공됩니다. + 이 창작물을 사용하다, 창작자의 귀여운 + 실수로 인해 무언가 잘못되었다면, 문제를 직접 + 해결하세요. 무례하지 않은 사람은 적어도 + 귀여운 타인들을 비난하거나 모욕하지는 않으며 + 수정본을 제출하거나 버그리포트를 제출 할 + 것입니다. + +4. 당신이 이 귀여운 창작물을 활용해 다른 창작물 + 을 만들고 싶은 경우 적어도 사용했다는 고지는 + 남겨주세요. 귀여운 창작자들은 자신의 창작물이 + 좋은곳에 사용되었음을 기뻐할 것입니다. + + qwreeykawaii license v1.0 + +Copyright 2021. Qwreey [qwreey75@gmail.com] + +This license is based on DBAD license. +Everyone is permitted to copy and distribute +verbatim or modified copies of this license +document. + +TERMS, AND CONDITIONS FOR COPYING, +DISTRIBUTION, AND MODIFICATION + +1. You can do anything with this original work, + but don't be rude + + In general, being rude includes below + + First. Do not copy these cute works without + any modification. changing the name + only is outright copyright infringement + Second. Do not add some harmful or NSFW content. + It's very rude and may harm others + + Being rude is not limited to these instances. + Above all, don't hurt cute people + +2. If you get any benefit or profit from these cute + works, Share the love. A polite person may share + the love with cute people. +3. These cute works are provided with no warranty. + If something goes wrong due to the creator's cute + mistake, Fix it yourself. A polite person may + submit the fix or bug report +4. If you create something with these works, Leave + the original creator's name in your work. + the cute creator will be happy if their works are + used for good \ No newline at end of file diff --git a/src/build.py b/src/build.py index 9f10704..c644159 100644 --- a/src/build.py +++ b/src/build.py @@ -21,6 +21,7 @@ def build(config=None): NanumSquareNeoLoader.pasteGlyphs( target=kawaii,baseSize=550, source=nanumSquareNeo) + nanumSquareNeo.close() if (config.get("CopyJapaneseGlyphs") or config.get("CopyCJKUnifiedIdeographs")): @@ -32,14 +33,13 @@ def build(config=None): JapaneseGlyphs=config.get("CopyJapaneseGlyphs") or False, CJKUnifiedIdeographs=config.get("CopyCJKUnifiedIdeographs") or False, target=kawaii,baseSize=550, - source=nanumSquareNeo) + source=notoMono) + notoMono.close() # 생성 kawaii.generate("kawaiiPatched.ttf") # 파일 닫기 - notoMono.close() - nanumSquareNeo.close() kawaii.close() if __name__ == "__main__": build() diff --git a/src/wgetHandler.py b/src/wgetHandler.py index 9dd025e..20399ca 100644 --- a/src/wgetHandler.py +++ b/src/wgetHandler.py @@ -1,4 +1,4 @@ -import wget +from .wget import wget import math def bar_custom(current, total, width=80):