View Issue Details

IDProjectCategoryView StatusLast Update
15068Bug reportsSurvey editingpublic2019-12-03 15:27
Reporterpparzer Assigned Tocdorin  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version3.17.x 
Summary15068: Text tagged as italic renders as bold-italic when using Noto Sans font
Description

When using Noto Sans font text tagged as italic or emphasized is rendered as bold-italic. The same bug is present in Version 4.0.0-RC1+190722

Steps To Reproduce

Create a question text with italic or emphasize html tags like the following example (source view):

<p>Question text with <i>italic</i> and <i>emphasized</i> and <strong>bold</strong> and <i><strong>bold italic</strong></i> parts.</p>

Attached screenshot1.pnp shows wrong rendering on the web page.

Additional Information

With the following patch the rendering is correct (see screenshot2.png):

*** assets/fonts/noto.css 2019-07-23 09:34:54.934578151 +0200
--- assets/fonts/noto.css.orig 2019-07-23 09:34:38.205994036 +0200


* 22,28 **

@font-face {
font-family: 'Noto Sans';
! font-weight: 600;
font-style: italic;
src: url('./font-src/Noto/NotoSans-BoldItalic.ttf');
}
--- 22,28 ----

@font-face {
font-family: 'Noto Sans';
! font-weight: 400;
font-style: italic;
src: url('./font-src/Noto/NotoSans-BoldItalic.ttf');
}

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.17.7-190627
I will donate to the project if issue is resolvedNo
BrowserFirefox 68, Chromium 74.0.3729.169
Database & DB-VersionMariaDB 10.1.40
Server OS (if known)Ubuntu 18.04.2 LTS
Webserver software & version (if known)Apache/2.4.29
PHP Version7.2.19

Activities

pparzer

pparzer

2019-07-23 09:50

reporter  

screenshot1.png (4,728 bytes)   
screenshot1.png (4,728 bytes)   
screenshot2.png (4,640 bytes)   
screenshot2.png (4,640 bytes)   

Issue History

Date Modified Username Field Change
2019-07-23 09:50 pparzer New Issue
2019-07-23 09:50 pparzer File Added: screenshot1.png
2019-07-23 09:50 pparzer File Added: screenshot2.png
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2019-12-03 15:27 cdorin Assigned To => cdorin
2019-12-03 15:27 cdorin Status new => assigned