Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

오류 발생 보고 #5

Open
DQLove opened this issue Oct 14, 2021 · 2 comments
Open

오류 발생 보고 #5

DQLove opened this issue Oct 14, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@DQLove
Copy link

DQLove commented Oct 14, 2021

파이썬 버전:
Python 3.8.9

설치 패키지 버전:
chardet==4.0.0
Pillow==7.2.0
PyQt5==5.15.4
PyQt5-Qt5==5.15.2
PyQt5-sip==12.9.0

[기본 세팅]
tool

[폰트 옵션 세팅]

  1. 미체크 : 대부분 정상이나, 폰트에 따라서는 "바"자와 같이 "비"처럼 보이게 생성되는 경우도 있음
    test1
  2. Use outline 체크
    test2
  3. Use outline + Draw font without anti-aliasing 체크 : 안티앨리어싱 없음 적용 시, 아웃라인 및 폰트 Y축 위치 오류 발생
    test3
  4. Draw font without anti-aliasing 체크
    test4

다른 폰트로 테스트해 본 결과, 폰트에 따라서는 3,4번 오류는 자주 발생하는 듯 합니다.

@mirusu400 mirusu400 added the bug Something isn't working label Oct 14, 2021
@mirusu400
Copy link
Owner

image

Y축 오류 나는건 폰트 자체의 문제인것으로 보입니다.
포토샵에서 동일한 설정으로 글씨 썼을때도 동일한 오류가 나오네요.
글씨를 1포인트씩 위아래로 바꾸다보면 딱 맞아떨이지긴 합니다

폰트를 무조건 최상단 정렬하는 함수를 작성할수 있을진 모르겠지만, 한번 고려해 보겠습니다

@mirusu400
Copy link
Owner

python-pillow/Pillow#5759
Pillow 최신 업데이트에서 stroke 관련 에러가 고쳐질 예정이니, 최신 업데이트 나오고 나서 오류 다시한번 확인해보겠습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants