Fonts: Difference between revisions

Jump to navigation Jump to search
No change in size ,  08:40, 7 October 2022
m
more paren to correct location
(how to use fonts on websites)
m (more paren to correct location)
Line 105: Line 105:


== Rendering APL on websites ==
== Rendering APL on websites ==
For APL code to be rendered well on a website, three conditions must be fulfilled (replace font name and file name with desired font):
For APL code to be rendered well on a website, three conditions must be fulfilled:
# The page has to use a proper encoding
# The page has to use a proper encoding
# The APL code has to be formatted with an appropriate APL font
# The APL code has to be formatted with an appropriate APL font
# The APL font has to be made available for those users that do not have it installed
# The APL font has to be made available for those users that do not have it installed
All these things can be achieved by inserting the following into the <syntaxhighlight lang=html inline><head></syntaxhighlight> element of the page:
All these things can be achieved by inserting the following into the <syntaxhighlight lang=html inline><head></syntaxhighlight> element of the page (replace font name and file name with desired font):
<syntaxhighlight lang=html>
<syntaxhighlight lang=html>
<meta charset="UTF-8">
<meta charset="UTF-8">

Navigation menu