nativescript-community / nativescript-community/text

FontFamily not applied when using html on HTMLLabel

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I attached two screenshots.
One where the application of fontFamiliy is working correctly (1.6.5) and one where it is ignored (1.6.6 and higher).
The version of the ui-label is irrelevant.

Correct font:
Image

Ignored font:

Image

Sample repo is here https://github.com/mBaldasty/HTMLLabelFontFamilyIssue

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in the linked mBaldasty/HTMLLabelFontFamilyIssue sample repository, comparing version 1.6.5 with 1.6.6 or later. Trace the HTMLLabel fontFamily handling and verify that the font is applied in the newer version without changing the ui-label version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.