Skip to content

[FIX] Fonts: Add default font for Linux#9020

Closed
fw-bot wants to merge 1 commit into
saas-18.4from
saas-18.4-17.0-fix-default-canvas-font-rar-539026-fw
Closed

[FIX] Fonts: Add default font for Linux#9020
fw-bot wants to merge 1 commit into
saas-18.4from
saas-18.4-17.0-fix-default-canvas-font-rar-539026-fw

Conversation

@fw-bot

@fw-bot fw-bot commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

We currently have a font family set for the canvas and the composers. However, both fonts are proprietary:

  • Roboto -> Google
  • Arial -> Microsoft

For users using an 'open' operating system without any of those proprietary fonts, the font family has 0 matches and defaults on a 'Times new Roman' like font which is quite ugly.

This revision adds a fallback to 'Liberation Sans' which is the opensource equivalent to Arial 1.

Task: 6328646

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

Forward-Port-Of: #9012

We currently have a font family set for the canvas and the composers.
However, both fonts are proprietary:
- Roboto -> Google
- Arial -> Microsoft

For users using an 'open' operating system without any of those
proprietary fonts, the font family has 0 matches and defaults on a
'Times new Roman' like font which is quite ugly.

This revision adds a fallback to 'Liberation Sans' which is the
opensource equivalent to Arial [1].

[1]: https://wiki.archlinux.org/title/Metric-compatible_fonts

Task: 6328646
X-original-commit: 1ec83de
@robodoo

robodoo commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

@fw-bot

fw-bot commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator Author

This PR targets saas-18.4 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

robodoo pushed a commit that referenced this pull request Jun 24, 2026
We currently have a font family set for the canvas and the composers.
However, both fonts are proprietary:
- Roboto -> Google
- Arial -> Microsoft

For users using an 'open' operating system without any of those
proprietary fonts, the font family has 0 matches and defaults on a
'Times new Roman' like font which is quite ugly.

This revision adds a fallback to 'Liberation Sans' which is the
opensource equivalent to Arial [1].

[1]: https://wiki.archlinux.org/title/Metric-compatible_fonts

closes #9020

Task: 6328646
X-original-commit: 1ec83de
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
@robodoo robodoo closed this Jun 24, 2026
@fw-bot fw-bot deleted the saas-18.4-17.0-fix-default-canvas-font-rar-539026-fw branch July 1, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants