Page 1 of 1

'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-04, 22:27
by markfilipak
Re: Firefox 74.0
Re: Pale Moon 28.9.0.2
Re: https://trac.ffmpeg.org/ticket/8590#comment:32

Note the difference when rendering/(not rendering) the 'pre' element at the bottom of comment-32.

Code: Select all

and with underline chars when needed to keep timing relationships. For example:<br />
</p>
<pre class="wiki">[A/a__________][B/b__________][C/c__________][D/d__________]
[A/a_______][B/b_______][B/c_______][C/d_______][D/d_______]
[1/-_][-/2_][3/-_][-/4_][5/-_][-/6_][7/-_][-/8_][9/-_][-/0_]
</pre><p>
(Of course, this only works for monospaced fonts.)

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-04, 22:48
by Moonchild
Image1.png

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-04, 23:16
by markfilipak
Moonchild wrote:
2020-04-04, 22:48
Image1.png
Image2.png

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-05, 00:10
by Moonchild
Yeah so what is your setting for monospaced fonts? are you actually USING a monospaced font for monospaced fonts?

And your topic title suggests that it "does not render at all"... which isn't true.

I'm sorry but you'll have to be a lot clearer as to what your perceived problem is.

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-05, 00:22
by markfilipak
Moonchild wrote:
2020-04-05, 00:10
Yeah so what is your setting for monospaced fonts? are you actually USING a monospaced font for monospaced fonts?
I'm using whatever PM uses.
Image3.png
And your topic title suggests that it "does not render at all"... which isn't true.
Not rendered as a 'pre' element, but I understand your complaint. I'll try harder next time.

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-05, 00:29
by Moonchild
markfilipak wrote:
2020-04-05, 00:22
I'm using whatever PM uses.
...and PM is using whatever your system has set for the generic "monospace" name. Check your fontconfig or whatever your flavour of Linux uses?

By the way there's nothing wrong with the "wiki" class since it doesn't define any fonts.

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-05, 00:49
by markfilipak
Moonchild wrote:
2020-04-05, 00:29
markfilipak wrote:
2020-04-05, 00:22
I'm using whatever PM uses.
...and PM is using whatever your system has set for the generic "monospace" name. Check your fontconfig or whatever your flavour of Linux uses?
Image4.png
I switched PM to the same fonts that FF uses: DejaVu Sans. Problem solved. I'll investigate monospace further on my own. Thanks for the guidance. Putting noodles together sometimes does more than simply make noodle soup.
By the way there's nothing wrong with the "wiki" class since it doesn't define any fonts.
I know. I always use Inspector for stuff like this.

Re: 'pre' element not rendered (may be problem with 'wiki' class)

Posted: 2020-04-05, 02:28
by markfilipak
Thanks MC, sorry to have bothered you. The problem appears to be with the 'monospace' font itself -- who'd-a thought it?

Stay safe & healthy,
Mark.