| 1 |
|
| 2 |
\chapter{Getting Started with Junicode}\hypertarget{GettingStarted}{} |
| 3 |
%\fancyhead[CE]{\scshape\color{myRed} {\addfontfeatures{Numbers=OldStyle}\thepage}\hspace{10pt}getting started} |
| 4 |
|
| 5 |
Junicode comes in two flavors—static and variable. Static fonts are the ones |
| 6 |
users are most familiar with, each font file supplying a single set of outlines |
| 7 |
that do not change except in size. By contrast, a single |
| 8 |
\href{https://fonts.google.com/knowledge/introducing_type/introducing_variable_fonts}{variable font} |
| 9 |
file stores a set of |
| 10 |
outlines that can morph in various ways—for example, becoming bolder or lighter, |
| 11 |
narrower or wider, and sometimes undergoing more complex transformations. The static |
| 12 |
version of Junicode consists of thirty-eight font files, |
| 13 |
each providing a distinct variation of the font’s style; the variable version consists |
| 14 |
of only two (one each for roman and italic), but those two font files are capable of |
| 15 |
much more than the static version's thirty-eight. |
| 16 |
|
| 17 |
Because the static and variable versions of Junicode are differently named |
| 18 |
(“Junicode” and “Junicode VF”), both can be installed on the same system. However, |
| 19 |
you should choose one or the other for any particular project. Choose the static |
| 20 |
version if the application you are using does not yet support variable fonts. Such |
| 21 |
applications include Microsoft Word, Apple Pages, Quark Xpress, Google Docs, |
| 22 |
Affinity Publisher, and most flavors of {\TeX} (except for {\LuaTeX}—see below). Another |
| 23 |
reason to choose the static version is its familiarity: if you don't need the |
| 24 |
advanced capabilities of the variable version, it is perfectly all right to stick |
| 25 |
with what you know. |
| 26 |
|
| 27 |
All major web browsers (including browsers for mobile devices) support variable fonts, |
| 28 |
and there are good reasons to choose |
| 29 |
the variable version of Junicode for any web project. The greatest reason to go |
| 30 |
with the variable version is to speed the loading of web pages: users will never |
| 31 |
have to download more than two font files (the size of which can be radically |
| 32 |
reduced via subsetting, explained in Section 8 of this Manual). Additionally, |
| 33 |
however, variable fonts can make a page of text more dynamic and visually |
| 34 |
interesting. See Mozilla's |
| 35 |
\href{https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_fonts/Variable_fonts_guide}% |
| 36 |
{Variable Fonts Guide} for more information about using variable fonts on the web. |
| 37 |
|
| 38 |
A growing number of desktop applications support variable fonts. Use the variable version of |
| 39 |
Junicode in Adobe InDesign (always with the World-Ready Paragraph Composer).\footnote{\ % |
| 40 |
The choice of a Composer is well hidden in the “Justification” section of the |
| 41 |
“Paragraph Style Options” dialog. Use of the default “Adobe Paragraph Composer” |
| 42 |
with Junicode VF may cause InDesign to crash or otherwise misbehave. To prevent crashes |
| 43 |
when using the variable version of Junicode, |
| 44 |
it is also advisable to delete InDesign's preferences when launching the program after |
| 45 |
a font upgrade. To do this, press Shift-Alt-Control (on Windows) or |
| 46 |
Shift-Control-Option-Command (on the Mac) all together, \textit{immediately} after |
| 47 |
clicking to launch InDesign.} LibreOffice |
| 48 |
has supported variable fonts since version 7.5 (2023). {\LuaTeX} has excellent support |
| 49 |
for variable fonts: make sure your {\TeX} installation is up to date (since in |
| 50 |
recent years support for variable fonts has improved with every release), and always choose “harf” |
| 51 |
mode in your font-selection code. For an example of font-selection code for a |
| 52 |
variable font, see the file |
| 53 |
\href{https://github.com/psb1558/Junicode-font/blob/master/docs/JunicodeManual.sty}% |
| 54 |
{JunicodeManual.sty} (part of the source for this manual) in the “docs” directory of the GitHub Junicode site. |
| 55 |
You are welcome to copy and modify this code. A number of graphical design apps |
| 56 |
also support variable fonts, including Adobe Illustrator, PhotoShop, Figma, |
| 57 |
Sketch, and CorelDRAW. |
| 58 |
|
| 59 |
The static version of Junicode has five weights and five widths, which are combined in many ways |
| 60 |
for a total of nineteen styles in |
| 61 |
both roman and italic.\footnote{\ Several of the twenty-five possible combinations |
| 62 |
(e.g. {\jExpLight light expanded}) |
| 63 |
have been omitted as unlikely to be useful; however, these can be accessed via the variable font.} |
| 64 |
It is not necessary to install all of these; in fact, |
| 65 |
your life will be simplified (font menus easier to navigate) if you |
| 66 |
make a selection. You will probably want the traditional Regular, Bold, Italic, and Bold |
| 67 |
Italic fonts, but you should survey the styles displayed in the Specimen |
| 68 |
section of this booklet, choose the ones that look best to you, and install |
| 69 |
only those. A reasonable selection for many users will include the traditional four |
| 70 |
styles for main text, several SemiExpanded styles for footnotes, and |
| 71 |
SemiCondensed for titles. |
| 72 |
|
| 73 |
Junicode’s static fonts come in two types, TrueType (files with a .ttf extension) and |
| 74 |
CFF (files with an .otf extension). These are functionally identical, but they may look |
| 75 |
subtly different on your computer’s screen because of the different technologies used to |
| 76 |
render glyphs. Choose the one you find most appealing. |
| 77 |
|
| 78 |
With around 5,000 characters, Junicode is a large font. Finding the things you |
| 79 |
want in a collection that size can be a challenge, and then entering them in your |
| 80 |
documents is another challenge. This document will help, but it |
| 81 |
presupposes a certain amount of knowledge—for example, how to install a font in |
| 82 |
Windows, Mac OS or Linux and how to install and use different kinds of software. |
| 83 |
|
| 84 |
Medievalists will find the \href{https://bora.uib.no/bora-xmlui/handle/1956/10699}% |
| 85 |
{\textit{MUFI Character Recommendation}}, version 4.0 (2015) |
| 86 |
an essential supplement to this document. The \textit{Recommendation} lists |
| 87 |
thousands of characters identified by the |
| 88 |
Medieval Unicode Font Initiative as being of interest to medievalists. Junicode |
| 89 |
contains all of these characters. There are two versions of the \textit{Recommendation}: |
| 90 |
you will probably find the “Alphabetical Order” version most helpful. |
| 91 |
|
| 92 |
From the \textit{MUFI Character Recommendation} and Chapter 10 (“Encoded Glyphs in |
| 93 |
Junicode”) of this manual, you can find out |
| 94 |
the \textbf{code points}\footnote{\ A Unicode code point is a numerical identifier for a character. |
| 95 |
It is generally expressed as a |
| 96 |
four-digit hexadecimal (or base-16) number with a prefix of ``U+''. The letter |
| 97 |
capital ``A,'' for example, is \unic{U+0041} (65 |
| 98 |
in decimal notation), and lowercase ``ȝ'' (Middle English yogh) is \unic{U+021D}.} |
| 99 |
of the characters you need. These code points can be used to enter |
| 100 |
characters in your documents when they cannot be typed on the keyboard. |
| 101 |
|
| 102 |
To enter any Unicode character in a Windows application, type its four-digit |
| 103 |
code, followed by Alt-X. To do the same in the Mac OS, first install and switch |
| 104 |
to the “Unicode Hex Input” keyboard, then type the code while holding down the Option |
| 105 |
key. In most Linux distributions you can enter a code by typing Shift-Control-U, |
| 106 |
then the code followed by Return or Enter. |
| 107 |
|
| 108 |
\textbf{Combining marks} (diacritics and certain abbreviation signs) can pose special problems for |
| 109 |
medievalists. Unicode contains a great |
| 110 |
many \textbf{precomposed characters} consisting of a base letter plus one or more marks. |
| 111 |
If these are all you need you're fortunate---especially if they can be |
| 112 |
typed on an international keyboard (not all can).\footnote{\ Both |
| 113 |
Windows and the Mac OS come with international keyboards that make it easy to |
| 114 |
type special letters and diacritics. To find out how to enable these, search |
| 115 |
online for “Mac OS International Keyboard” or “Windows International Keyboard.”} |
| 116 |
But medieval manuscripts frequently contain |
| 117 |
combinations of base + mark that are not used in modern written languages. |
| 118 |
For these, you'll have to |
| 119 |
enter bases and marks separately. |
| 120 |
|
| 121 |
To position a mark correctly over a base character, first enter the base, |
| 122 |
followed by the mark or marks. |
| 123 |
The sequence \textbf{m} + \textbf{◌ᷙ} (\unic{U+1DD9}) |
| 124 |
will make \textex{mᷙ}; |
| 125 |
\mbox{\textbf{y} + \textbf{◌̄}} (\unic{U+0304}) + \textbf{◌̆} (\unic{U+0306}) will make \textex{ȳ̆}; |
| 126 |
\textbf{e} + \textbf{◌̣} (\unic{U+0323}) + \textbf{◌ᷠ} (\unic{U+1DE0}) will make \textex{ẹᷠ}. |
| 127 |
|
| 128 |
More than sixteen hundred characters in Junicode can only be accessed via OpenType features—that is, |
| 129 |
by way of the programming built into the font—and many others \textit{should} be |
| 130 |
accessed that way for reasons explained in the Introduction |
| 131 |
to the Feature Reference section of this document. |
| 132 |
|
| 133 |
For example, some programs (including Microsoft Word) produce small caps by |
| 134 |
scaling capitals down to approximately the height of lowercase letters. |
| 135 |
These always look too thin and light. |
| 136 |
But Junicode contains hundreds of \textsc{true small caps} designed to harmonize with |
| 137 |
the surrounding text. These can only be accessed via the OpenType \textSourceText{smcp} feature, |
| 138 |
which you can apply to a run of text much as you apply italic or bold styles: |
| 139 |
select some text and then apply the feature. |
| 140 |
|
| 141 |
Unfortunately, not every program supports OpenType features, and some that do |
| 142 |
either support only a few or make them difficult to access. Programs |
| 143 |
that support Junicode’s features fully include the free word processor |
| 144 |
\href{https://www.libreoffice.org/}{LibreOffice Writer}, all major browsers |
| 145 |
(Firefox, Chrome, Safari and Edge), and |
| 146 |
the typesetting programs {\LuaLaTeX} and {\XeLaTeX}. Adobe InDesign supports |
| 147 |
OpenType features only partially, but all features can be accessed via |
| 148 |
Roland Dreger’s \href{https://github.com/RolandDreger/open-type-features}{open-type-features} |
| 149 |
script, and InDesign provides access to |
| 150 |
all of Junicode's characters via its “Glyphs” dialog. |
| 151 |
|
| 152 |
Microsoft Word, unfortunately, provides only limited support for OpenType |
| 153 |
features. It supports the \hyperlink{req}{Required Features} discussed below, and also |
| 154 |
variant number forms and Stylistic Sets (though only one at a time). Many characters |
| 155 |
(for example, \textsc{true small caps} and those accessible only via Character |
| 156 |
Variant features) cannot be accessed at all. To activate Word's OpenType |
| 157 |
support, you must open the “Font” dialog, click over to the “Advanced” tab, |
| 158 |
and check the “Kerning” box. (Oddly, the “Kerning” box enables all other |
| 159 |
OpenType features.) Then, in the same tab, select Standard Ligatures, Contextual |
| 160 |
Alternates, and any other features you want. |
| 161 |
OpenType features are best applied to character styles rather than |
| 162 |
directly to text: this will |
| 163 |
save you from having to perform this operation repeatedly. |
| 164 |
|
| 165 |
It is also good to set the language properly for the text you're working on. |
| 166 |
Programs like Word will automatically set the language to the default for your system. If you |
| 167 |
change to a language other than your own for a passage (or even a single word), |
| 168 |
you should set the language for that passage appropriately. This will unlock |
| 169 |
a number of capabilities. For example, in Old and Middle English, Word and |
| 170 |
other programs will use the English form of thorn and eth ({\addfontfeature{Language=English} þð}) instead of |
| 171 |
the modern Icelandic ({\addfontfeature{Language=Icelandic} þð}), and in ancient |
| 172 |
Greek you will be able to type accents after vowels instead of looking up |
| 173 |
the codes for hundreds of polytonic vowel + accent combinations. But these and other capabilities |
| 174 |
are only available when you set the language correctly. |
| 175 |
|
| 176 |
In LibreOffice and InDesign you can set the language with a drop-down menu |
| 177 |
in the “Character” dialog. In Word there is a separate “Language” dialog, |
| 178 |
accessible from the “Tools” menu. |
| 179 |
|
| 180 |
If you have questions about any aspect of Junicode, |
| 181 |
post a query in the \href{https://github.com/psb1558/Junicode-font/discussions}% |
| 182 |
{Junicode discussion forum}. If you notice a bug, or wish to |
| 183 |
request an enhancement or other change, please open an |
| 184 |
\href{https://github.com/psb1558/Junicode-font/issues}{issue} at the font's |
| 185 |
\href{https://github.com/psb1558/Junicode-font}{development site}. |