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

compose-ui-text에서 fallback font 지원 안됨 #761

Open
jisungbin opened this issue Jun 14, 2023 · 1 comment · Fixed by #782
Open

compose-ui-text에서 fallback font 지원 안됨 #761

jisungbin opened this issue Jun 14, 2023 · 1 comment · Fixed by #782
Assignees
Labels
bug Something isn't working material

Comments

@jisungbin
Copy link
Contributor

jisungbin commented Jun 14, 2023

Overview

가장 유력한 해결법

  • TextMeasurerdefaultFontFamilyResolver 인자가 있음. 이 친구 연구가 필요함.
  • LocalFontFamilyResolver를 사용자 지정으로 제공할 수 있음. 아마 LocalFontFamilyResolver가 font 로드에 사용되는 거 같음.

어쩌면 다른 해결법

  • SUIT 폰트에서 제공하는 글자 외 다른 글자가 입력됐다면 임의로 폰트 fallback 처리. 이를 구현하려면 SUIT 폰트가 제공하는 모든 글자를 알아야 함.
  • TextFieldFontFamily 설정을 제거함.

참고

@jisungbin jisungbin added bug Something isn't working waiting Waiting for a response from a user or dependency labels Jun 14, 2023
@jisungbin jisungbin self-assigned this Jun 14, 2023
@jisungbin jisungbin changed the title fallback font 지원 안됨 compose-text에서 fallback font 지원 안됨 Jun 14, 2023
@jisungbin jisungbin moved this to 🐛 Bug in QuackQuack-v2 Jun 14, 2023
@jisungbin jisungbin changed the title compose-text에서 fallback font 지원 안됨 compose-ui-text에서 fallback font 지원 안됨 Jun 21, 2023
@jisungbin jisungbin moved this from 🐛 Bug to 🏗 In Progress in QuackQuack-v2 Jul 1, 2023
@jisungbin jisungbin added material and removed waiting Waiting for a response from a user or dependency labels Jul 1, 2023
jisungbin added a commit that referenced this issue Jul 3, 2023
- Add `QuackInterceptorPlugin` that a plugin that allows to intercept and change certain conditions before a QuackQuack component is drawn.
- Add `QuackTextFieldFontFamilyRemovalPlugin` plugin to temporarily resolve #761.
- `CoilImageLoader.builder` renamed to `CoilImageLoader.quackBuild`.
@jisungbin jisungbin reopened this Jul 3, 2023
@jisungbin jisungbin moved this from 🏗 In Progress to 🐛 Bug in QuackQuack-v2 Jul 3, 2023
@jisungbin
Copy link
Contributor Author

TextMeasurer에 defaultFontFamilyResolver 인자가 있음. 이 친구 연구가 필요함.

이 API로는 해결할 수 없다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working material
Projects
Status: 🐛 Bug
Development

Successfully merging a pull request may close this issue.

1 participant