| 1 | The kpfonts-otf package |
| 2 | ======================== |
| 3 | |
| 4 | ## Description |
| 5 | |
| 6 | `kpfonts-otf` is meant as a replacement, for LuaLaTeX and XeLaTeX users, |
| 7 | of Christophe Caignaert’s `kpfonts` package. Christophe’s Type1 fonts have |
| 8 | been converted to OpenType using fontforge and Adobe's AFDKO bundle. |
| 9 | The package is still experimental, bug reports and suggestions are welcome. |
| 10 | |
| 11 | ## Contents |
| 12 | |
| 13 | * the `font/` directory holds 21 OpenType fonts (16 for text and 5 for maths); |
| 14 | * the `tex/` directory holds the style file kpfonts-otf.sty and |
| 15 | fontspec configuration files; |
| 16 | * the `doc/` directory holds documentation in English and French and |
| 17 | a table of available maths symbols comparing kpfonts-otf to LatinModern, |
| 18 | STIXTwo, Erewhon, TeXGyreTermes, Garamond and Libertinus. |
| 19 | |
| 20 | ## Installation |
| 21 | |
| 22 | This package is meant to be installed automatically by TeXLive, MikTeX, etc. |
| 23 | Otherwise, `kpfonts-otf` can be installed under TEXMFHOME or TEXMFLOCAL, f.i. |
| 24 | |
| 25 | + alls fonts (`fonts/*.otf` files) in directory |
| 26 | `texmf-local/fonts/opentype/public/kpfonts-otf/` |
| 27 | + style and fontspec files (`tex/kpfonts-otf.sty` and `tex/*.fontspec`) in |
| 28 | directory `texmf-local/tex/latex/kpfonts-otf/` |
| 29 | + documentation (from doc/ directory) in |
| 30 | `texmf-local/doc/fonts/public/kpfonts-otf/` |
| 31 | |
| 32 | Don't forget to rebuild the file database (mktexlsr or so) if you install |
| 33 | under TEXMFLOCAL. |
| 34 | |
| 35 | Finally, you may want to make the system font database aware of the |
| 36 | `kpfonts-otf` fonts (fontconfig under Linux). |
| 37 | |
| 38 | ## License |
| 39 | |
| 40 | * The fonts included in `kpfonts-otf` are licensed under the |
| 41 | SIL Open Font License, Version 1.1. |
| 42 | This license is available with a FAQ at: http://scripts.sil.org/OFL |
| 43 | * The other files are distributed under the terms of the LaTeX Project |
| 44 | Public License from CTAN archives in directory macros/latex/base/lppl.txt. |
| 45 | Either version 1.3 or, at your option, any later version. |
| 46 | |
| 47 | ## Changes |
| 48 | * First release version: 0.30 (experimental, expect changes!). |
| 49 | |
| 50 | * v. 0.31: |
| 51 | Fixed inconsistent widths/sidebearings for six glyphs: |
| 52 | = ≠ < ≤ > ≥ (all five maths fonts affected, original Type1 too). |
| 53 | |
| 54 | * v. 0.32: |
| 55 | 1. Text fonts: |
| 56 | - `kpfonts-otf.sty` corrected: the "light" option didn't work properly. |
| 57 | - kpfonts-otf should now cover all glyphs in TS1 encoding (`textcomp.sty`). |
| 58 | - The height of all diacritics has been reviewed and corrected. |
| 59 | - New combining diacritics added : U+0310, U+0323, U+0325, U+0327, U+0328. |
| 60 | - New glyphs added: U+0110 (Dcroat), U+0111 (dcroat), U+0123 (gcircumflex), |
| 61 | U+0126 (Hbar), U+0127 (hbar), U+0129 (itilde), U+012B (imacron), |
| 62 | U+012D (ibreve), U+0135 (jcircumflex), U+0166 (Tbar), U+0167 (tbar) |
| 63 | and their counterparts in Petite Caps and Small Caps. |
| 64 | - Corrected Petite Caps and Small Caps variant for U+00F0 (eth), |
| 65 | U+00FE (thorn), U+0111 (dcroat) and U+014B (eng). |
| 66 | - Optional ft and tt ligatures added, see feature "Ligatures=Required". |
| 67 | - Variants for ligatures fi ffi fl ffl added, see "Alternate=1". |
| 68 | - (faked) slanted fonts added to match kpfonts T1 version. |
| 69 | 2. Maths fonts: |
| 70 | - Corrected mismatch between mitl (U+1d459) and ell (U+2113). |
| 71 | - Slanted versions for \shortparallel and \nshortparallel |
| 72 | and for \gtreqless, \lesseqgtr, \gtreqqless, \lesseqqgtr added. |
| 73 | - Stretchy accents \wideoverbar, \widebreve, \widecheck added. |
| 74 | - Reduced boldness for superscripts and supersuperscripts. |
| 75 | - New option "tight" to reduce horizontal spaces in maths mode |
| 76 | (same settings as \pkg{fourier} and \pkg{fourier-otf}). |
| 77 | |
| 78 | * v. 0.33: |
| 79 | - Roman Text fonts: |
| 80 | Added 54 glyphs in Latin-ExtendedA range (mostly complete now). |
| 81 | - Maths fonts: |
| 82 | Fixed inconsistencies in superscripts and supersuperscripts metrics. |
| 83 | |
| 84 | * v. 0.34: |
| 85 | Massive glyph cleaning: many spurious control points deleted in glyphs |
| 86 | for both Maths and Text fonts. |
| 87 | |
| 88 | 1. Text fonts: |
| 89 | - kernings before and after quoteright improved. |
| 90 | - German capital Eszet (U+1E9E) added, in Petite and Small caps too, |
| 91 | feature "StylisticSet=2" added to get SS instead of capital Eszet. |
| 92 | - diacritics corrected in `KpRoman-LightItalic` (some were upright). |
| 93 | - breaking change: feature "Alternate=1" changed to "StylisticSet=1" |
| 94 | as it didn't work with XeTeX. |
| 95 | 2. Maths fonts: |
| 96 | - metrics (width, italic correction) reviewed. |
| 97 | - accents ovhook (U+0309), candra (U+0310), vertoverlay (U+202D) added. |
| 98 | |
| 99 | * v. 0.35: |
| 100 | 1. Text fonts: |
| 101 | - Added 54 glyphs in Latin-ExtendedA range for `KpSans` fonts. |
| 102 | - Euro symbol added in Roman, Sans and Mono, option StyleSet=3 to |
| 103 | trigger it. |
| 104 | - Added missing anchors for "dot below" on P, p, p.pc, p.sc, a.sc. |
| 105 | - HarfBuzz renderer no longer loaded for HBLuaTeX engine, new option |
| 106 | "harfbuzz" to force loading it (`kpfonts-otf.sty`). |
| 107 | 2. Maths fonts: |
| 108 | - Stretchable delimiters corrected in KpMath-Sans. |
| 109 | - Options `frenchstyle`, `partialup` and `fancyReIm` now work as intended. |
| 110 | |
| 111 | * v. 0.36: |
| 112 | Maths fonts: |
| 113 | - `kpfonts-otf.sty`: Option mathcal deleted, \mathcal{} and \mathscr{} |
| 114 | now print different glyphs. |
| 115 | - mathcal substitutions corrected for `KpMath-Regular` and `KpMath-Sans`. |
| 116 | - Stretchable \langle, \rangle, \lAngle and \rangle delimiters are now |
| 117 | available in eight sizes (three bigger sizes added). |
| 118 | - All vertical arrows are now stretchable. |
| 119 | - Bug fix: stretchable right paren was broken in `KpMath-Sans`, thanks |
| 120 | to Tom Stotko for pointed it out! |
| 121 | |
| 122 | * v. 0.37: |
| 123 | 1. Text fonts: |
| 124 | - Added glyphs U+2010 and U+2011 (hyphens). |
| 125 | - Corrected `kpfonts-otf.sty`: option "largesmallcaps" fixed, new weights |
| 126 | added (\sbseries, \ltseries, \ebseries), see documentation. |
| 127 | - Breaking change: files `*.fontspec` changed so that the default smallcaps |
| 128 | are now "Petite" instead of "Small" to match the orignal kpfonts default. |
| 129 | 2. Maths fonts: |
| 130 | - Completed the collection of "squares", "triangles", "diamonds" and |
| 131 | "lozenges". |
| 132 | - Tuned all "squares", "circles" and "triangles": the smaller ones are |
| 133 | centered on the math-axis, larger ones rest on the baseline. |
| 134 | - \perp, \bot, \rightangle, \angle, \measuredangle, \sphericalangle |
| 135 | shifted up, their bottom rests on the baseline now. |
| 136 | |
| 137 | * v. 0.38: |
| 138 | 1. Text fonts: |
| 139 | - Glyphs U+200B (zero width space) and U+2060 (word joiner) added. |
| 140 | - Improved option "veryoldstyle" (luatex only): a final "s" is |
| 141 | no longer turned into the long variant. |
| 142 | - Fixed kerning after "f" in KpSans-BoldItalic. |
| 143 | 2. Maths fonts: |
| 144 | - Added bold versions to \dotlessi, \dotlessj, named \mbfdotlessi, |
| 145 | \mbfdotlessj (\mbfimath and \mbfjmath were already available). |
| 146 | |
| 147 | * v. 0.39: |
| 148 | New option "longs". Documentation corrected, thanks to Frank Mittelbach for |
| 149 | pointing out the glitch in v0.38. |
| 150 | |
| 151 | * v. 0.40: |
| 152 | - OS2 FSType corrected (0 now): the fonts are now declared "installable". |
| 153 | - kpfonts-otf.sty corrected (missing \fi), thanks to Denis Bitouzé |
| 154 | for pointing it out. |
| 155 | |
| 156 | * v. 0.41: |
| 157 | 1. Text fonts: |
| 158 | - eurosym reshaped, width slightly reduced. |
| 159 | 2. Math fonts: |
| 160 | - \vert and \Vert corrected: left and right bearings enlarged. |
| 161 | - \Vvert (U+2980) added. |
| 162 | - \coloneqq, \Coloneqq, \colonsim etc. corrected to be compatible |
| 163 | with mathtools’ definitions. |
| 164 | |
| 165 | * v. 0.42: |
| 166 | Maths fonts: |
| 167 | - Added missing U+0338 for negation of \mathrel chars. |
| 168 | - Added \smallin (U+220A), \smallni (U+220D). |
| 169 | - Added \awint (U+2A11). |
| 170 | |
| 171 | * v. 0.43: |
| 172 | Text fonts: kpfonts-otf.sty now loads realscripts for better superscripts. |
| 173 | Maths fonts: Vertical variants of slash and backslash are now accessible. |
| 174 | |
| 175 | * v. 0.44: |
| 176 | Maths fonts: fixed bug for \vert variants in script and scriptscriptstyle. |
| 177 | |
| 178 | * v. 0.45: |
| 179 | Maths fonts: delimiters, integrals, sum, prod etc. are now vertically |
| 180 | centred by design on the maths axis (required by luametatex). |
| 181 | Fixed inconsistencies about bold and semibold integrals. |
| 182 | |
| 183 | * v. 0.46: |
| 184 | 1. Text fonts: option longs deleted, option veryoldstyle improved, the |
| 185 | substitution from `s' to `ſ' is now handled by "StylisticSet=12". |
| 186 | 2. Maths fonts: |
| 187 | - Added a smaller variant for \widehat, \widetilde, \widecheck. |
| 188 | - Vertical variants added for \vert, \Vert, \Vvert. |
| 189 | - Added stretchable integral for U+222B (usable with luametatex). |
| 190 | |
| 191 | * v. 0.47: |
| 192 | Text fonts: moved the s= ligature from liga to hlig as it only makes |
| 193 | sense with the "veryoldstyle" option. |
| 194 | |
| 195 | * v. 0.48: |
| 196 | 1. Text fonts: oldstyle digits added to lookups "sups" and "subs" for |
| 197 | \textsuperscript{} and \textsubscript{} (`realscripts` package). |
| 198 | 2. Maths fonts: package now compatible with mathtools’ stretchable arrows. |
| 199 | New Bold Sans variant: KpMath-SansBold.otf. |
| 200 | \diagup and \diagdown moved from private area to U+27CB, U+27CD. |
| 201 | |
| 202 | * v. 0.51: |
| 203 | - Math fonts: \overleftrightarrow is now stretchable. |
| 204 | Metrics of all "over" arrows and harpoons corrected. |
| 205 | Metrics of all "under" arrows and harpoons corrected. |
| 206 | Most horizontal arrows and harpoons are now stretchable. |
| 207 | |
| 208 | * v. 0.52: |
| 209 | - Math fonts: minor corrections to radicals. |
| 210 | Fixed missing mcalM in KpMath-Sans.otf |
| 211 | |
| 212 | * v. 0.53: |
| 213 | - Text fonts: added missing substitutions 'sups' and 'sinf' for |
| 214 | the minus sign. |
| 215 | |
| 216 | * v. 0.54: |
| 217 | - Math Sans Serif fonts: \imath and \jmath corrected. |
| 218 | - Math Bold and Semibold fonts: missing glyphs added in range |
| 219 | U+1D400-U+1D7F5 (SE#688363). |
| 220 | - File kpfonts-otf.sty: new options 'sftext', 'sfmath', 'sans'. |
| 221 | |
| 222 | * v. 0.55: |
| 223 | - Math Sans Serif fonts: added missing glyphs added in range |
| 224 | U+1D5A0-U+1D66F and U+1D7E2-U+1D7F5 (forgotten in v.0.54). |
| 225 | - Math fonts: added tt alphabet (letters/digits) when missing. |
| 226 | |
| 227 | * v. 0.56: |
| 228 | - Math fonts: fixed IsExtendedShape flags. |
| 229 | \mid (U+2223) and \parallel (U+2225) vertical variants changed. |
| 230 | - Fixed missing \fi in kpfonts-otf.sty. |
| 231 | |
| 232 | * v. 0.60: |
| 233 | - Text fonts: glyphs dcaron, lcaron, tcaron, Lcaron, lcaron.sc and |
| 234 | lcaron.pc corrected. Inconsistencies on Lacute glyphs fixed. |
| 235 | Mono fonts: zero is slashed now (was too similar to capital O). |
| 236 | - Math fonts: files KpMath-Regular.fontspec, KpMath-Light.fontspec |
| 237 | and KpMath-Sans.fontspec added (they define `BoldFont=`). |
| 238 | OT features cvNN are now applied before ssty (applied last). |
| 239 | |
| 240 | * v. 0.61: |
| 241 | - Math fonts: some inconsistencies between delimiter sizes fixed. |
| 242 | Metrics of \widebreve, \widecheck, \widehat, \widetilde first |
| 243 | horizontal variant (.h0) changed: f.i. $\hat{r} \ne \widehat{r}$. |
| 244 | |
| 245 | * v. 0.62: |
| 246 | - Math fonts: vertical delimiters redesigned (sizes and boldness). |
| 247 | |
| 248 | * v. 0.63: |
| 249 | Text fonts: |
| 250 | - Super/Sub-scripts added: punctuation, brackets, braces, dashes, etc. |
| 251 | - Option 'fakedscripts' added to kpfonts-otf.sty; it prevents loading |
| 252 | of package realscripts. |
| 253 | |
| 254 | * v. 0.64: |
| 255 | - Math fonts: added missing hyphen (U+002D). |
| 256 | |
| 257 | * v. 0.65: |
| 258 | - Text fonts: improved kernings for Small and Petites Caps. |
| 259 | |
| 260 | * v. 0.66: |
| 261 | - Math fonts: glyphs U+2032 to U+2037 and U+2057 (prime and co.) redesigned. |
| 262 | |
| 263 | * v. 0.67: |
| 264 | - Math fonts: Math table fixes for glyph horizontal/vertical composition. |
| 265 | |
| 266 | * v. 0.70: |
| 267 | - Math fonts: compatibility with Typst v0.14: all glyphs used in |
| 268 | vertical compositions now sit on the baseline. |
| 269 | Invisible Math operators (U-2061 to U+2064) added. |
| 270 | - Documentation fixes. |
| 271 | |
| 272 | * v0.71 |
| 273 | Math fonts: |
| 274 | Variation Selector U+FE00 added. Works currently for Typst, not (yet) for |
| 275 | LuaLaTeX/unicode-math [https://github.com/latex3/unicode-math/issues/661]: |
| 276 | - mcal (Chancery) variants of mscr (Round hand) capitals can be accessed |
| 277 | via variation selector U+FE00. |
| 278 | - U+FE00 may also be used to get variants of "zero" (U+0030), "emptyset" |
| 279 | (U+2205), some large inequalities (U+2268, U+2269, U+22DA, U+22DB, U+2A8B, |
| 280 | U+2A8C, U+2272 U+2273), and some subsets (U+228A, U+228B, U+2ACB, U+2ACC). |
| 281 | |
| 282 | * v0.72 |
| 283 | Text fonts: Breton "Kbarré" (U+A743, U+A742) added: |
| 284 | - uppercase, lowercase, petites and small caps for the Roman family. |
| 285 | - uppercase and lowercase only for the Sans and Mono families. |
| 286 | Math fonts: |
| 287 | - Inconsistencies in widehat, widetilde and other over/under accents fived. |
| 288 | - over/underbrace: variant's sizes tuned for smoother variation. |
| 289 | |
| 290 | * v0.73 |
| 291 | Text fonts: glyphs U+02BB, U+02BC and U+02BD added. |
| 292 | Math fonts: |
| 293 | - Math table Sub/Superscripts parameters tuned, see |
| 294 | https://tex.stackexchange.com/questions/759695/ |
| 295 | - Wrong glyph U+2289: long standing bug, inherited from the original |
| 296 | kpfonts, see https://tex.stackexchange.com/questions/760494/ |
| 297 | |
| 298 | --- |
| 299 | Copyright 2020-2026 Daniel Flipo |
| 300 | E-mail: daniel (dot) flipo (at) free (dot) fr |