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

different font size with text formatting on custom font scaling factor #537

Open
selfisekai opened this issue Aug 23, 2023 · 4 comments · May be fixed by Cretezy/flutter_linkify#136
Open
Labels
stale The item is going to be closed soon because of inactivity

Comments

@selfisekai
Copy link
Contributor

Bug Description

GNOME 44, font scaling factor set to 1.10 in GNOME Tweaks

image

{
    "content": {
        "msgtype": "m.text",
        "body": "oto Europa LP"
    },
    "type": "m.room.message",
    "event_id": "$FCRq2fyjO4zbKC7Rzq2ndgfAs3mdHvAczaabwLc1Dpk",
    "unsigned": {
        "age": 16,
        "transaction_id": "FluffyChat linux-76-1692772037012",
        "com.famedly.famedlysdk.message_sending_status": 2
    }
}
{
    "content": {
        "msgtype": "m.text",
        "body": "_Europa LP_, Europa LP",
        "format": "org.matrix.custom.html",
        "formatted_body": "<em>Europa LP</em>, Europa LP"
    },
    "type": "m.room.message",
    "event_id": "$Z9eBgOVB8IxCkYivo6Gp68yU3mDVFv-VeT59vht1PZQ",
    "unsigned": {
        "age": 16,
        "transaction_id": "FluffyChat linux-77-1692772044689",
        "com.famedly.famedlysdk.message_sending_status": 2
    }
}

Steps to Reproduce

  1. set font scaling in gnome tweaks
  2. send messages with and without html formatting

Expected Behavior

same font size in all messages without size modifiers

App Version

1.13.0

Additional Platform Information

Alpine Linux

Additional Context

No response

@saihaze
Copy link

saihaze commented Aug 30, 2023

Also: When font scaling is set in GNOME tweaks and Fluffychat settings at the same time, font sizes will be different in different messages.
截图 2023-08-30 11-13-44

@gabrc52
Copy link
Contributor

gabrc52 commented Dec 1, 2023

This happens on Linux, Android, and iOS at least

@gabrc52
Copy link
Contributor

gabrc52 commented Mar 26, 2024

I am looking into this and have found the source of this bug to be in the flutter_linkify library: Cretezy/flutter_linkify#135

The last time someone brought it up, the developer of the library blamed Flutter: Cretezy/flutter_linkify#22

I will work on a PR to the upstream library.

@gabrc52 gabrc52 linked a pull request Mar 26, 2024 that will close this issue
Copy link

github-actions bot commented Aug 6, 2024

This issue is stale because it has been open for 120 days with no activity.

@github-actions github-actions bot added the stale The item is going to be closed soon because of inactivity label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The item is going to be closed soon because of inactivity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants