| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8"> |
| 5 |
<style> |
| 6 |
@font-face { |
| 7 |
font-family: "junicode"; |
| 8 |
src: url("../fonts/JunicodeVF-Roman.woff2"); |
| 9 |
font-weight: 300 700; |
| 10 |
font-stretch: 75% 125%; |
| 11 |
} |
| 12 |
@font-face { |
| 13 |
font-family: "junicode"; |
| 14 |
src: url("../fonts/JunicodeVF-Italic.woff2"); |
| 15 |
font-style: italic; |
| 16 |
font-weight: 300 700; |
| 17 |
font-stretch: 75% 125%; |
| 18 |
} |
| 19 |
@font-face { |
| 20 |
font-family: "notosans"; |
| 21 |
src: url("../fonts/NotoSans-Regular.woff2"); |
| 22 |
} |
| 23 |
body { |
| 24 |
margin-left: 10%; |
| 25 |
margin-right: 10%; |
| 26 |
font-family: junicode; |
| 27 |
font-size: 125%; |
| 28 |
background-color: rgb(240, 240, 240); |
| 29 |
} |
| 30 |
table, th, td { |
| 31 |
border: 1px solid lightgray; |
| 32 |
font-size: 100%; |
| 33 |
} |
| 34 |
td, th { |
| 35 |
padding: 4px; |
| 36 |
} |
| 37 |
th { |
| 38 |
font-family: notosans, Arial, sans-serif; |
| 39 |
font-weight: normal; |
| 40 |
font-size: 80%; |
| 41 |
} |
| 42 |
.hex, .desc, .basec, .utag, .entity { |
| 43 |
background-color: #f4e0ff; |
| 44 |
} |
| 45 |
.hex { |
| 46 |
font-feature-settings: "lnum", "tnum", "zero"; |
| 47 |
} |
| 48 |
.char, .otag, .zwj, .varc, .enla { |
| 49 |
background-color: #b9ecff; |
| 50 |
} |
| 51 |
.utag, .zwj, .entity, .enla { |
| 52 |
font-feature-settings: "ss10"; |
| 53 |
} |
| 54 |
.desc { |
| 55 |
font-variation-settings: "wdth" 75; |
| 56 |
} |
| 57 |
dialog { |
| 58 |
position: fixed; |
| 59 |
z-index: 1000; |
| 60 |
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4); |
| 61 |
} |
| 62 |
dialog[open] { |
| 63 |
opacity: 1; |
| 64 |
visibility: visible; |
| 65 |
} |
| 66 |
#dialogheadertext { |
| 67 |
font-family: notosans, Arial, sans-serif; |
| 68 |
font-size: 80%; |
| 69 |
} |
| 70 |
#dialogtext { |
| 71 |
font-family: junicode; |
| 72 |
font-feature-settings: "lnum", "tnum", "zero"; |
| 73 |
} |
| 74 |
.table-container table thead th { |
| 75 |
position: sticky; |
| 76 |
top: 0; |
| 77 |
background-color: Indigo; |
| 78 |
color: white; |
| 79 |
z-index: 1; |
| 80 |
} |
| 81 |
p { |
| 82 |
font-feature-settings: "ss09", "lnum", "tnum"; |
| 83 |
} |
| 84 |
</style> |
| 85 |
</head> |
| 86 |
<body lang="is"> |
| 87 |
<h1 lang="en">Private Use to OpenType Reference Page</h1> |
| 88 |
<p lang="en"> |
| 89 |
This page tests and demonstrates all of the conversions that the |
| 90 |
Junicode utility pua2ot is capable of. If you want to know how to |
| 91 |
convert a Private Use or other character, locate the row or rows |
| 92 |
of the character. Click on a cell in the “base” |
| 93 |
column to see the Unicodes that make up the base. Click on any of |
| 94 |
the rightmost five columns to see the code that generates its |
| 95 |
content. The dialog that displays this information has a “Copy” |
| 96 |
button, which copies it to the clipboard. |
| 97 |
</p> |
| 98 |
<p> |
| 99 |
To filter the table, type the first digit or digits of a hexadecimal |
| 100 |
number (to search the “hex” column) or any other text (to search the |
| 101 |
“description” column) in the box below. For example, to find |
| 102 |
characters with hex codes beginning <b>E0</b>, type that sequence in |
| 103 |
the box; to find combining marks, type <b>combining</b>. |
| 104 |
</p> |
| 105 |
<p> |
| 106 |
Filter: <input type="search" id="tblfilter" placeholder="Hex or description..."> |
| 107 |
</p> |
| 108 |
<div class="table-container"> |
| 109 |
<table id="tbl"> |
| 110 |
<thead id="table_head"> |
| 111 |
</thead> |
| 112 |
<tbody id="table_body"> |
| 113 |
</tbody> |
| 114 |
</table> |
| 115 |
</div> |
| 116 |
<dialog id="method_info"> |
| 117 |
<form method="dialog"> |
| 118 |
<p id="dialogheadertext">Character code:</p> |
| 119 |
<pre id="dialogtext"></pre> |
| 120 |
<button id="closeDialog">Close</button> |
| 121 |
<button id="copyText">Copy</button> |
| 122 |
</form> |
| 123 |
</dialog> |
| 124 |
<script src="PUA2OT_DATA.js"></script> |
| 125 |
<script src="./pua2ot-common.js"></script> |
| 126 |
<script> |
| 127 |
options.defaultTags = {"ss10": 1}; |
| 128 |
options.lang = "is"; |
| 129 |
// options.utagEntities = false; |
| 130 |
// options.nonWordTags = [ "ss04", "ss05", "ss06", "pcap", "smcp", "hlig", "case", "ENLA" ]; |
| 131 |
// options.keepUnicode = false; |
| 132 |
// options.methodPriority = "legible"; |
| 133 |
// options.prefList = [ "utag", "zwj", "enla", "otag", "entity" ]; |
| 134 |
// options.defaultTags = {ss10: 1}; |
| 135 |
// options.basePreferences = []; |
| 136 |
// options.replaceMUFIEntities = true; |
| 137 |
// options.enlargedScale = 32; |
| 138 |
// options.charSkip = []; |
| 139 |
</script> |
| 140 |
<script src="./mklist.js"></script> |
| 141 |
</body> |
| 142 |
</html> |