richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Fonts still didn't show the preview in the Richdocuments App's Config

Open hammeractual opened this issue 2 years ago • 2 comments

Describe the bug Fonts still didn't show the preview in the Richdocuments App's Config while the physical file exist in the server directory.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior All fonts show the preview

Screenshots Error

Client details:

  • OS: Windows 11
  • Browser: Chrome
  • Version: 120.0.6099.224
  • Device: Desktop

Server details

Operating system: Ubuntu 22.04

Web server: Apache 2.4

Database: MariaDB 10.11

PHP version: 8.2

Nextcloud version: 28.0.1

Version of the richdocuments app: 8.3.1

Version of Collabora Online: 23.05.6.3

Configuration of the richdocuments app

Insert the output of `./occ config:list richdocuments` (or equivalent adapted for your runtime environment)
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

hammeractual avatar Jan 19 '24 03:01 hammeractual

Could you try running the occ richdocuments:install-fonts command to update the font files from the shipped ones again and see if that makes any difference?

juliusknorr avatar Jan 19 '24 07:01 juliusknorr

Could you try running the occ richdocuments:install-fonts command to update the font files from the shipped ones again and see if that makes any difference?

WoW thanks, it works!

zzzzz sdsadsad

However, I think this app should improve the mechanism to install the fonts so that the fonts preview could function properly without any manual overriding with occ richdocuments:install-fonts first. :)

hammeractual avatar Jan 19 '24 10:01 hammeractual