Skip to content

Commit 70372b5

Browse files
committed
System font formatting affects document in the editor on Qt desktops
Fix #104
1 parent 0f5eb6d commit 70372b5

21 files changed

+271
-124
lines changed

src/documents/untitled.html

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<head>
3-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4-
<meta name="qrichtext" content="1">
3+
<meta charset="utf-8" />
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5+
<meta name="qrichtext" content="1">
6+
<style type="text/css">
7+
p, li { white-space: pre-wrap; }
8+
hr { height: 1px; border-width: 0; }
9+
li.unchecked::marker { content: "\2610"; }
10+
li.checked::marker { content: "\2612"; }
11+
</style>
512
</head>
6-
<body align="center">
13+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
714
<p>&nbsp;</p>
815
</body>
916
</html>

src/documents/welcome_ar.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>QPrompt Welcome</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>QPrompt Welcome</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Thank you for using QPrompt!</p>
3239
<p><a href="#">QPrompt</a> takes the stress away from teleprompter operation, so you can enjoy media production and avoid dealing with memorization.</p>

src/documents/welcome_cs.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>QPrompt Úvod</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>QPrompt Úvod</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Děkujeme, že používáte QPrompt!</p>
3239
<p><a href="#">QPrompt</a> zjednodušuje používání teprompteru, abyste si mohli užívat tvorbu a nemuseli se zabývat učením textu nazpaměť.</p>

src/documents/welcome_de.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>QPrompt Willkommen</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>QPrompt Willkommen</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Danke das Sie QPrompt verwenden!</p>
3239
<p><a href="#">QPrompt</a> nimmt den Stress weg der bei Nutzung eines Teleprompters entsteht, sodas Sie die Medien Produktion genießen und sich nicht mit Merken befassen müssen.</p>

src/documents/welcome_en.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>QPrompt Welcome</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>QPrompt Welcome</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Thank you for using QPrompt!</p>
3239
<p><a href="#">QPrompt</a> takes the stress away from teleprompter operation, so you can enjoy media production and avoid dealing with memorization.</p>

src/documents/welcome_es.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>Bienvenida a QPrompt</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>Bienvenida a QPrompt</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>¡Gracias por usar QPrompt!</p>
3239
<p><a href="#">QPrompt</a> le libera del estrés de operar un teleprompter, para que pueda disfrutar de la producción sin tener que memorizar.</p>

src/documents/welcome_fi.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>QPrompt Welcome</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>QPrompt Welcome</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Thank you for using QPrompt!</p>
3239
<p><a href="#">QPrompt</a> takes the stress away from teleprompter operation, so you can enjoy media production and avoid dealing with memorization.</p>

src/documents/welcome_fr.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>Bienvenue sur QPrompt</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>Bienvenue sur QPrompt</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Merci d'utiliser QPrompt !</p>
3239
<p><a href="#">QPrompt</a> élimine le stress lié au fonctionnement du prompteur, de sorte que vous pouvez profiter de la production multimédia et éviter de vous occuper de la mémorisation.</p>

src/documents/welcome_he.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>QPrompt Welcome</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>QPrompt Welcome</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Thank you for using QPrompt!</p>
3239
<p><a href="#">QPrompt</a> takes the stress away from teleprompter operation, so you can enjoy media production and avoid dealing with memorization.</p>

src/documents/welcome_it.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<html>
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
22
<!--
33
****************************************************************************
44
**
55
** QPrompt
6-
** Copyright (C) 2020-2024 Javier O. Cordero Pérez
6+
** Copyright (C) 2020-2025 Javier O. Cordero Pérez
77
**
88
** This file is part of QPrompt.
99
**
@@ -22,11 +22,18 @@
2222
****************************************************************************
2323
-->
2424
<head>
25-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
26-
<meta name="qrichtext" content="1">
27-
<title>Benvenuto in QPrompt</title>
25+
<meta charset="utf-8" />
26+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
27+
<meta name="qrichtext" content="1">
28+
<title>Benvenuto in QPrompt</title>
29+
<style type="text/css">
30+
p, li { white-space: pre-wrap; }
31+
hr { height: 1px; border-width: 0; }
32+
li.unchecked::marker { content: "\2610"; }
33+
li.checked::marker { content: "\2612"; }
34+
</style>
2835
</head>
29-
<body align="center">
36+
<body align="center" style="font-family:'DejaVu Sans'; font-size:83px; font-weight:400; font-style:normal; letter-spacing:0px;">
3037
<p> <img src="qrc:/qt/qml/com/cuperino/qprompt/images/qprompt.png" alt="QPrompt" width="274" /></p>
3138
<p>Grazie per aver utilizzato QPrompt!</p>
3239
<p><a href="#">QPrompt</a> elimina lo stress del funzionamento del teleprompter, consentendovi di godervi la produzione mediatica e di evitare la memorizzazione.</p>

0 commit comments

Comments
 (0)