<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
The Libertine font is only used for generating Captchas.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
The difference in fonts between concordances and elsewhere is merely down to tradition though I must admit I am quite fond of it as a visual distinction between running text and UI/stats tables.
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
The fonts are set via the class of the td that contains the text. The context before and after and the node each have a different dedicated class, while elsewhere you will find the concordgeneral/concordgrey classes for most text cells.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
The fonts for classes are set in CQPweb-****.CSS<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Be aware that changes to the CSS files may not be future proof as I eventually aim to bring rather more of the UI styling under programmatic control. Creating a user option for monospace font may be a good place to start.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Best<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Andrew<br>
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<b><font color="#000000">From:</font></b><font color="#000000"> cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it> on behalf of Scott Sadowsky <ssadowsky@gmail.com></font><br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<b><font color="#000000">Sent:</font></b><font color="#000000"> Tuesday, June 4, 2019 1:40:07 AM</font><br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<b><font color="#000000">To:</font></b><font color="#000000"> Open source development of the Corpus WorkBench</font><br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<b><font color="#000000">Subject:</font></b><font color="#000000"> [CWB] Monospace font in concordances</font>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Hi all, <br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
My entire CQPweb installation uses a sans serif font except for user-entered text, which seems to use LinLibertine_Mah.ttf as specified in /useracct-lib.php. (or maybe elsewhere, but that's the only mention of it I can find). This looks nice and I'm happy with
it.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
For some reason, however, concordances (and <i>only</i> concordances) are in some serif font or another. Personally, I don't like the look of it, but more objectively it doesn't jibe with the rest of the site.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Can anyone tell me what I have to edit to change this font? Ideally, I'd like a monospace font for concordances.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Cheers,<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Scott<br>
<br>
<br>
</div>
</body>
</html>