-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
I've found a bug and checked that ...
- ... the problem doesn't occur with the
mkdocsorreadthedocsthemes - ... the problem persists when all overrides are removed, i.e.
custom_dir,extra_javascriptandextra_css - ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
utf-8 encoding is missing missing (imho).
I think the trouble is missing encoding in ImageFont.truetype(self.font.get(700), 36, encoding="utf-8"), however, I couldn't to fix this.
Your source link.
Expected behaviour
Correct social card =)
Actual behaviour
Russian title and description looks like squares.
Steps to reproduce
- Write
title = 'Привет мир!'(Hello world in translation) and/ordescription = 'Привет мир! - build
- https://cards-dev.twitter.com/validator
Package versions
Build with Github action.
I have the fork of insiders. There was last build with your hash commit (96e9a28f989abc498bc6f5ced4d0d061908c95ff commit link)
Configuration
# Configuration
theme:
# Default values, taken from mkdocs_theme.yml
language: en
# Plugins
plugins:
- socialSystem information
I think, doesn't matter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
