Bug 30314 - Microsoft font makes extra space in OPAC with Chrome, Edge, and Vivaldi browsers
Summary: Microsoft font makes extra space in OPAC with Chrome, Edge, and Vivaldi browsers
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Browser compatibility (show other bugs)
Version: 20.05
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords: browser_compatibility
Depends on:
Blocks:
 
Reported: 2022-03-18 01:34 UTC by PO-YU CHOU
Modified: 2023-06-08 22:26 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Compare issue between Firefox and other browsers (153.97 KB, image/png)
2022-03-18 01:34 UTC, PO-YU CHOU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PO-YU CHOU 2022-03-18 01:34:06 UTC
Created attachment 131850 [details]
Compare issue between Firefox and other browsers

Dear All,

We found an issue when using Microsoft font like the attached file in OPAC. When we set the font from Microsoft to Google font. The problem is fixed. The engineer said those browsers who had this issue, within the code, found an extra "user agentstylesheet" from Google. It seems not to influence the system work, but one Koha user reports this to us. So, we also report here and hope it is not a serious problem for all Koha users.

Best regards,

Frank Chou
Shou Yang Digital Technology Co., Ltd.
Comment 1 Katrin Fischer 2022-11-15 00:36:41 UTC
I don't believe this to be a Koha issue as Koha itself is neither using Microsoft nor Google fonts. If there is something we can do, please provide more information about the changes you made in order to fix this for your installation.
Comment 2 David Cook 2022-11-15 06:32:49 UTC
謝謝 Frank. Great to hear from you. Very much appreciate your work on translating Koha into Chinese. 

I've taken a look at biblionumber 132 on the Koha from your screenshot, but I can't replicate the problem on the latest Chrome on Windows 10.

In the screenshot, the problem looks like it's concerning this line of HTML: <span class="title_resp_stmt">朝碧雲新聞社編集局編著</span>

On my system, those 11 Chinese glyphs are rendered using the Microsoft YaHei font, and there's no space there.

--

I'm just noticing that you reported this back in March, so I'm guessing that you must have resolved your issue.

I was going to say that it's a strange place for there to be a space regardless of font. I would've guessed a data error rather than a font error there.

I've recently been doing more work on Koha in Traditional Chinese, so your issue caught my eye.