refactor(pdfjs-viewer): remove deprecated handwriting fonts and related options
Deleted outdated handwriting font definitions from viewer.css and removed associated options from viewer.html and viewer.mjs. This streamlines the font selection process for typed signatures, focusing on standard fonts.
This commit is contained in:
@@ -18111,12 +18111,6 @@ function setupSignatureTypeControls() {
|
||||
fontSelect.addEventListener("change", () => {
|
||||
const value = fontSelect.value;
|
||||
switch (value) {
|
||||
case "PingFang":
|
||||
typeInput.style.fontFamily = '"PingFangChangAnTi", ' + defaultFontFamily;
|
||||
break;
|
||||
case "Qiantu":
|
||||
typeInput.style.fontFamily = '"QiantuBifeng", ' + defaultFontFamily;
|
||||
break;
|
||||
case "cursive":
|
||||
typeInput.style.fontFamily = defaultFontFamily;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user