WeblateOrg / WeblateOrg/weblate

Font change does not update rendered image in the MaxSizeCheck

Open
#14,483 3 comments 0 reactions 0 assignees View on GitHub
Area: Quality checks Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the issue

When changing the default font of a font group or adding a language override, the preview image does not change until the translation itself is changed.

### I already tried

- [x] I've read and searched [the documentation](https://docs.weblate.org/).
- [x] I've searched for similar filed issues in this repository.

### Steps to reproduce the behavior

1. Setup font group in project
2. Setup [maximum size of translation check](https://docs.weblate.org/en/latest/user/checks.html#maximum-size-of-translation) flags (`font-family:`, `font-size:` and `max-size:`) on a unit
3. Translate a unit
4. Change the font of the font group
5. Refresh the page with the translation

### Expected behavior

The preview in the maximum size of translation check has the new font.

### Screenshots

_No response_

### Exception traceback

```pytb

```

### How do you run Weblate?

Docker container

### Weblate versions

Version 5.10.4 with official Weblate container image 5.10.4.0

### Weblate deploy checks

```shell

```

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.