Does the comicsans package work on stock Windows 10?












1















I recently noticed that when using the usepackage{comicsans} package in Windows 10, by default, all characters turn into squares. After a bit research, it was due to the fact that COMIC.ttf is no longer supported(included) in windows system????



A bit of shocking news. But then I manually downloaded and installed the font. However, when I use textbf{text}, the characters wrapped inside still cannot be displayed correctly, as shown below.



Is there a way to solve it once for all?



Thanks.



enter image description here



documentclass[a4paper,12pt]{article}

usepackage{amsmath,amsfonts}
usepackage{comicsans}
%usepackage[T1]{fontenc}
%usepackage[math]{iwona} %nice font
usepackage[top=1cm,bottom=2cm,left=1cm,right=1cm]{geometry}

usepackage{enumerate}
usepackage{lastpage}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{} % clears the header and footer
%fancyhead[C]{textbf{FE5116}}
fancyfoot[L]{Page thepage of pageref{LastPage}}

renewcommand{headrulewidth}{0pt}

begin{document}

begin{center}
textbf{Equation of a straight line}
end{center}

begin{minipage}[t]{0.55textwidth}

In mathematics we are almost obsessed with finding the equations of straight lines. There are different ways of doing this, but the best way is to use the equation:
[
y-y_1 = m(x-x_1),
]
where $m$ is the gradient of the line and $(x_1,y_1)$ is the coordinates of a point on the line. \

So, using this equation, find the equation of the following lines, giving your answer in the form
[
ax+by+c = 0,
]
where $a,b,c$ are integers (whole numbers -- no fractions).
end{minipage}
%
begin{minipage}[t]{0.4textwidth}
%
end{minipage}



%% new command %%
newcommand*{myQues}[1]{%
item #1 \
vfill
hfill $rule{6cm}{0.3mm}$ quad (3)
}%

begin{enumerate}[1)]
myQues{The line with gradient $4$ that passes through $(1,3)$.}
myQues{The line with gradient $2$ that passes through $(6,2)$.}
cleardoublepage
myQues{The line with gradient $1$ that passes through $(2,-3)$.}
myQues{The line with gradient $10$ that passes through $(-4,-6)$.}
cleardoublepage
myQues{The line with gradient $-2$ that passes through $(4,1)$.}
myQues{The line with gradient $-3$ that passes through $(-2,-5)$.}
end{enumerate}

%end{document}


cleardoublepage
Now, what happens if the gradient is a fraction? We still want our final answer to consist of integers -- so no fractions ldots

begin{enumerate}[1)]
setcounter{enumi}{6}
myQues{The line with gradient $frac{1}{2}$ that passes through $(5,2)$.}
myQues{The line with gradient $frac{2}{3}$ that passes through $(6,1)$.}
cleardoublepage
myQues{The line with gradient $frac{3}{4}$ that passes through $(2,-2)$.}
myQues{The line with gradient $-frac{1}{5}$ that passes through $(-2,4)$.}
cleardoublepage
myQues{The line with gradient $3$ that passes through $(frac{1}{3},4)$.}
myQues{The line with gradient $-2$ that passes through $(-frac{1}{4},-frac{2}{9})$.}
end{enumerate}

end{document}









share|improve this question









New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Did you also install Comic Sans Bold?

    – Davislor
    2 hours ago











  • @Davislor No, I did not. Honestly I did not expect such a problem (from MS). I don't see any point of removing a font and WHY? It's also not easy to find/download from the internet. I spend 10 minutes looking for it. What's the file name for the Bold font? Or do you know a place I can download them from? Thanks.

    – CasperYC
    2 hours ago











  • The list of filenames is here. It should be included with Windows 10. Try loading it with fontspec.

    – Davislor
    2 hours ago











  • On an OS other than Windows or OS X, or if for some reason they’re missing (check with fc-list), you can download an older version using MS Core Fonts for the Web.

    – Davislor
    2 hours ago













  • @Davislor Weirdly, I don't think they are! It's not the first time I realised it. I had problems in both Win10 1083 and 1809 versions.

    – CasperYC
    2 hours ago
















1















I recently noticed that when using the usepackage{comicsans} package in Windows 10, by default, all characters turn into squares. After a bit research, it was due to the fact that COMIC.ttf is no longer supported(included) in windows system????



A bit of shocking news. But then I manually downloaded and installed the font. However, when I use textbf{text}, the characters wrapped inside still cannot be displayed correctly, as shown below.



Is there a way to solve it once for all?



Thanks.



enter image description here



documentclass[a4paper,12pt]{article}

usepackage{amsmath,amsfonts}
usepackage{comicsans}
%usepackage[T1]{fontenc}
%usepackage[math]{iwona} %nice font
usepackage[top=1cm,bottom=2cm,left=1cm,right=1cm]{geometry}

usepackage{enumerate}
usepackage{lastpage}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{} % clears the header and footer
%fancyhead[C]{textbf{FE5116}}
fancyfoot[L]{Page thepage of pageref{LastPage}}

renewcommand{headrulewidth}{0pt}

begin{document}

begin{center}
textbf{Equation of a straight line}
end{center}

begin{minipage}[t]{0.55textwidth}

In mathematics we are almost obsessed with finding the equations of straight lines. There are different ways of doing this, but the best way is to use the equation:
[
y-y_1 = m(x-x_1),
]
where $m$ is the gradient of the line and $(x_1,y_1)$ is the coordinates of a point on the line. \

So, using this equation, find the equation of the following lines, giving your answer in the form
[
ax+by+c = 0,
]
where $a,b,c$ are integers (whole numbers -- no fractions).
end{minipage}
%
begin{minipage}[t]{0.4textwidth}
%
end{minipage}



%% new command %%
newcommand*{myQues}[1]{%
item #1 \
vfill
hfill $rule{6cm}{0.3mm}$ quad (3)
}%

begin{enumerate}[1)]
myQues{The line with gradient $4$ that passes through $(1,3)$.}
myQues{The line with gradient $2$ that passes through $(6,2)$.}
cleardoublepage
myQues{The line with gradient $1$ that passes through $(2,-3)$.}
myQues{The line with gradient $10$ that passes through $(-4,-6)$.}
cleardoublepage
myQues{The line with gradient $-2$ that passes through $(4,1)$.}
myQues{The line with gradient $-3$ that passes through $(-2,-5)$.}
end{enumerate}

%end{document}


cleardoublepage
Now, what happens if the gradient is a fraction? We still want our final answer to consist of integers -- so no fractions ldots

begin{enumerate}[1)]
setcounter{enumi}{6}
myQues{The line with gradient $frac{1}{2}$ that passes through $(5,2)$.}
myQues{The line with gradient $frac{2}{3}$ that passes through $(6,1)$.}
cleardoublepage
myQues{The line with gradient $frac{3}{4}$ that passes through $(2,-2)$.}
myQues{The line with gradient $-frac{1}{5}$ that passes through $(-2,4)$.}
cleardoublepage
myQues{The line with gradient $3$ that passes through $(frac{1}{3},4)$.}
myQues{The line with gradient $-2$ that passes through $(-frac{1}{4},-frac{2}{9})$.}
end{enumerate}

end{document}









share|improve this question









New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Did you also install Comic Sans Bold?

    – Davislor
    2 hours ago











  • @Davislor No, I did not. Honestly I did not expect such a problem (from MS). I don't see any point of removing a font and WHY? It's also not easy to find/download from the internet. I spend 10 minutes looking for it. What's the file name for the Bold font? Or do you know a place I can download them from? Thanks.

    – CasperYC
    2 hours ago











  • The list of filenames is here. It should be included with Windows 10. Try loading it with fontspec.

    – Davislor
    2 hours ago











  • On an OS other than Windows or OS X, or if for some reason they’re missing (check with fc-list), you can download an older version using MS Core Fonts for the Web.

    – Davislor
    2 hours ago













  • @Davislor Weirdly, I don't think they are! It's not the first time I realised it. I had problems in both Win10 1083 and 1809 versions.

    – CasperYC
    2 hours ago














1












1








1








I recently noticed that when using the usepackage{comicsans} package in Windows 10, by default, all characters turn into squares. After a bit research, it was due to the fact that COMIC.ttf is no longer supported(included) in windows system????



A bit of shocking news. But then I manually downloaded and installed the font. However, when I use textbf{text}, the characters wrapped inside still cannot be displayed correctly, as shown below.



Is there a way to solve it once for all?



Thanks.



enter image description here



documentclass[a4paper,12pt]{article}

usepackage{amsmath,amsfonts}
usepackage{comicsans}
%usepackage[T1]{fontenc}
%usepackage[math]{iwona} %nice font
usepackage[top=1cm,bottom=2cm,left=1cm,right=1cm]{geometry}

usepackage{enumerate}
usepackage{lastpage}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{} % clears the header and footer
%fancyhead[C]{textbf{FE5116}}
fancyfoot[L]{Page thepage of pageref{LastPage}}

renewcommand{headrulewidth}{0pt}

begin{document}

begin{center}
textbf{Equation of a straight line}
end{center}

begin{minipage}[t]{0.55textwidth}

In mathematics we are almost obsessed with finding the equations of straight lines. There are different ways of doing this, but the best way is to use the equation:
[
y-y_1 = m(x-x_1),
]
where $m$ is the gradient of the line and $(x_1,y_1)$ is the coordinates of a point on the line. \

So, using this equation, find the equation of the following lines, giving your answer in the form
[
ax+by+c = 0,
]
where $a,b,c$ are integers (whole numbers -- no fractions).
end{minipage}
%
begin{minipage}[t]{0.4textwidth}
%
end{minipage}



%% new command %%
newcommand*{myQues}[1]{%
item #1 \
vfill
hfill $rule{6cm}{0.3mm}$ quad (3)
}%

begin{enumerate}[1)]
myQues{The line with gradient $4$ that passes through $(1,3)$.}
myQues{The line with gradient $2$ that passes through $(6,2)$.}
cleardoublepage
myQues{The line with gradient $1$ that passes through $(2,-3)$.}
myQues{The line with gradient $10$ that passes through $(-4,-6)$.}
cleardoublepage
myQues{The line with gradient $-2$ that passes through $(4,1)$.}
myQues{The line with gradient $-3$ that passes through $(-2,-5)$.}
end{enumerate}

%end{document}


cleardoublepage
Now, what happens if the gradient is a fraction? We still want our final answer to consist of integers -- so no fractions ldots

begin{enumerate}[1)]
setcounter{enumi}{6}
myQues{The line with gradient $frac{1}{2}$ that passes through $(5,2)$.}
myQues{The line with gradient $frac{2}{3}$ that passes through $(6,1)$.}
cleardoublepage
myQues{The line with gradient $frac{3}{4}$ that passes through $(2,-2)$.}
myQues{The line with gradient $-frac{1}{5}$ that passes through $(-2,4)$.}
cleardoublepage
myQues{The line with gradient $3$ that passes through $(frac{1}{3},4)$.}
myQues{The line with gradient $-2$ that passes through $(-frac{1}{4},-frac{2}{9})$.}
end{enumerate}

end{document}









share|improve this question









New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I recently noticed that when using the usepackage{comicsans} package in Windows 10, by default, all characters turn into squares. After a bit research, it was due to the fact that COMIC.ttf is no longer supported(included) in windows system????



A bit of shocking news. But then I manually downloaded and installed the font. However, when I use textbf{text}, the characters wrapped inside still cannot be displayed correctly, as shown below.



Is there a way to solve it once for all?



Thanks.



enter image description here



documentclass[a4paper,12pt]{article}

usepackage{amsmath,amsfonts}
usepackage{comicsans}
%usepackage[T1]{fontenc}
%usepackage[math]{iwona} %nice font
usepackage[top=1cm,bottom=2cm,left=1cm,right=1cm]{geometry}

usepackage{enumerate}
usepackage{lastpage}
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{} % clears the header and footer
%fancyhead[C]{textbf{FE5116}}
fancyfoot[L]{Page thepage of pageref{LastPage}}

renewcommand{headrulewidth}{0pt}

begin{document}

begin{center}
textbf{Equation of a straight line}
end{center}

begin{minipage}[t]{0.55textwidth}

In mathematics we are almost obsessed with finding the equations of straight lines. There are different ways of doing this, but the best way is to use the equation:
[
y-y_1 = m(x-x_1),
]
where $m$ is the gradient of the line and $(x_1,y_1)$ is the coordinates of a point on the line. \

So, using this equation, find the equation of the following lines, giving your answer in the form
[
ax+by+c = 0,
]
where $a,b,c$ are integers (whole numbers -- no fractions).
end{minipage}
%
begin{minipage}[t]{0.4textwidth}
%
end{minipage}



%% new command %%
newcommand*{myQues}[1]{%
item #1 \
vfill
hfill $rule{6cm}{0.3mm}$ quad (3)
}%

begin{enumerate}[1)]
myQues{The line with gradient $4$ that passes through $(1,3)$.}
myQues{The line with gradient $2$ that passes through $(6,2)$.}
cleardoublepage
myQues{The line with gradient $1$ that passes through $(2,-3)$.}
myQues{The line with gradient $10$ that passes through $(-4,-6)$.}
cleardoublepage
myQues{The line with gradient $-2$ that passes through $(4,1)$.}
myQues{The line with gradient $-3$ that passes through $(-2,-5)$.}
end{enumerate}

%end{document}


cleardoublepage
Now, what happens if the gradient is a fraction? We still want our final answer to consist of integers -- so no fractions ldots

begin{enumerate}[1)]
setcounter{enumi}{6}
myQues{The line with gradient $frac{1}{2}$ that passes through $(5,2)$.}
myQues{The line with gradient $frac{2}{3}$ that passes through $(6,1)$.}
cleardoublepage
myQues{The line with gradient $frac{3}{4}$ that passes through $(2,-2)$.}
myQues{The line with gradient $-frac{1}{5}$ that passes through $(-2,4)$.}
cleardoublepage
myQues{The line with gradient $3$ that passes through $(frac{1}{3},4)$.}
myQues{The line with gradient $-2$ that passes through $(-frac{1}{4},-frac{2}{9})$.}
end{enumerate}

end{document}






fonts windows type1






share|improve this question









New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 7 mins ago









Davislor

6,0171227




6,0171227






New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









CasperYCCasperYC

83




83




New contributor




CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






CasperYC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Did you also install Comic Sans Bold?

    – Davislor
    2 hours ago











  • @Davislor No, I did not. Honestly I did not expect such a problem (from MS). I don't see any point of removing a font and WHY? It's also not easy to find/download from the internet. I spend 10 minutes looking for it. What's the file name for the Bold font? Or do you know a place I can download them from? Thanks.

    – CasperYC
    2 hours ago











  • The list of filenames is here. It should be included with Windows 10. Try loading it with fontspec.

    – Davislor
    2 hours ago











  • On an OS other than Windows or OS X, or if for some reason they’re missing (check with fc-list), you can download an older version using MS Core Fonts for the Web.

    – Davislor
    2 hours ago













  • @Davislor Weirdly, I don't think they are! It's not the first time I realised it. I had problems in both Win10 1083 and 1809 versions.

    – CasperYC
    2 hours ago



















  • Did you also install Comic Sans Bold?

    – Davislor
    2 hours ago











  • @Davislor No, I did not. Honestly I did not expect such a problem (from MS). I don't see any point of removing a font and WHY? It's also not easy to find/download from the internet. I spend 10 minutes looking for it. What's the file name for the Bold font? Or do you know a place I can download them from? Thanks.

    – CasperYC
    2 hours ago











  • The list of filenames is here. It should be included with Windows 10. Try loading it with fontspec.

    – Davislor
    2 hours ago











  • On an OS other than Windows or OS X, or if for some reason they’re missing (check with fc-list), you can download an older version using MS Core Fonts for the Web.

    – Davislor
    2 hours ago













  • @Davislor Weirdly, I don't think they are! It's not the first time I realised it. I had problems in both Win10 1083 and 1809 versions.

    – CasperYC
    2 hours ago

















Did you also install Comic Sans Bold?

– Davislor
2 hours ago





Did you also install Comic Sans Bold?

– Davislor
2 hours ago













@Davislor No, I did not. Honestly I did not expect such a problem (from MS). I don't see any point of removing a font and WHY? It's also not easy to find/download from the internet. I spend 10 minutes looking for it. What's the file name for the Bold font? Or do you know a place I can download them from? Thanks.

– CasperYC
2 hours ago





@Davislor No, I did not. Honestly I did not expect such a problem (from MS). I don't see any point of removing a font and WHY? It's also not easy to find/download from the internet. I spend 10 minutes looking for it. What's the file name for the Bold font? Or do you know a place I can download them from? Thanks.

– CasperYC
2 hours ago













The list of filenames is here. It should be included with Windows 10. Try loading it with fontspec.

– Davislor
2 hours ago





The list of filenames is here. It should be included with Windows 10. Try loading it with fontspec.

– Davislor
2 hours ago













On an OS other than Windows or OS X, or if for some reason they’re missing (check with fc-list), you can download an older version using MS Core Fonts for the Web.

– Davislor
2 hours ago







On an OS other than Windows or OS X, or if for some reason they’re missing (check with fc-list), you can download an older version using MS Core Fonts for the Web.

– Davislor
2 hours ago















@Davislor Weirdly, I don't think they are! It's not the first time I realised it. I had problems in both Win10 1083 and 1809 versions.

– CasperYC
2 hours ago





@Davislor Weirdly, I don't think they are! It's not the first time I realised it. I had problems in both Win10 1083 and 1809 versions.

– CasperYC
2 hours ago










1 Answer
1






active

oldest

votes


















0














The comicsans package does not include Type1 versions of the Comic Sans font, for legal reasons. You must have the TTF files installed first and follow the instructions in the manual to generate the 8-bit Type1 fonts for PDFTeX. The problem here was that you did not repeat this process after installing the bold font.



You can try replacing the comicsans package with fontspec:



usepackage{fontspec}
defaultfontfeatures{ Scale = MatchUppercase, Ligatures = TeX }
setmainfont{Comic Sans MS}[Scale = 1.0]


If you also want to replace the math letters, you might load mathastext afterwards, or



usepackage{unicode-math}
setmathfont{XITS Math}
setmathfont[range = up]{Comic Sans MS}
setmathfont[range = it]{Comic Sans MS Italic}
setmathfont[range = bfup]{Comic Sans MS Bold}
setmathfont[range = bfit]{Comic Sans MS Bold Italic}


According to Microsoft, Comic Sans MS is in fact included with Windows 10. As for why the font might not be installed, Microsoft explains:




A number of additional fonts are available for Desktop and Server, including all other fonts from previous releases. However, not all of these are pre-installed by default in all images. In order to make disk usage and font choices more relevant to users according to the languages that they use, a number of fonts have been moved into optional, on-demand packages. These packages are designed around the different scripts that fonts are primarily intended to support, and most are installed automatically by Windows Update when the associated languages are enabled in language settings (for example, by enabling a keyboard). Any of these Feature On Demand (FOD) packages can also be installed manually via Settings. To add font packages manually, Select the Start button, and then select Settings > Apps > Apps & features > Manage optional features.




If for some reason that does not work either, an older version of them is legally available gratis as part of the redistributable Microsoft Core Fonts for the Web. MS does sell workstation licenses for the most recent version of the font.






share|improve this answer


























  • Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

    – CasperYC
    2 hours ago











  • Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

    – CasperYC
    1 hour ago











  • If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

    – Davislor
    1 hour ago













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






CasperYC is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472991%2fdoes-the-comicsans-package-work-on-stock-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














The comicsans package does not include Type1 versions of the Comic Sans font, for legal reasons. You must have the TTF files installed first and follow the instructions in the manual to generate the 8-bit Type1 fonts for PDFTeX. The problem here was that you did not repeat this process after installing the bold font.



You can try replacing the comicsans package with fontspec:



usepackage{fontspec}
defaultfontfeatures{ Scale = MatchUppercase, Ligatures = TeX }
setmainfont{Comic Sans MS}[Scale = 1.0]


If you also want to replace the math letters, you might load mathastext afterwards, or



usepackage{unicode-math}
setmathfont{XITS Math}
setmathfont[range = up]{Comic Sans MS}
setmathfont[range = it]{Comic Sans MS Italic}
setmathfont[range = bfup]{Comic Sans MS Bold}
setmathfont[range = bfit]{Comic Sans MS Bold Italic}


According to Microsoft, Comic Sans MS is in fact included with Windows 10. As for why the font might not be installed, Microsoft explains:




A number of additional fonts are available for Desktop and Server, including all other fonts from previous releases. However, not all of these are pre-installed by default in all images. In order to make disk usage and font choices more relevant to users according to the languages that they use, a number of fonts have been moved into optional, on-demand packages. These packages are designed around the different scripts that fonts are primarily intended to support, and most are installed automatically by Windows Update when the associated languages are enabled in language settings (for example, by enabling a keyboard). Any of these Feature On Demand (FOD) packages can also be installed manually via Settings. To add font packages manually, Select the Start button, and then select Settings > Apps > Apps & features > Manage optional features.




If for some reason that does not work either, an older version of them is legally available gratis as part of the redistributable Microsoft Core Fonts for the Web. MS does sell workstation licenses for the most recent version of the font.






share|improve this answer


























  • Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

    – CasperYC
    2 hours ago











  • Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

    – CasperYC
    1 hour ago











  • If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

    – Davislor
    1 hour ago


















0














The comicsans package does not include Type1 versions of the Comic Sans font, for legal reasons. You must have the TTF files installed first and follow the instructions in the manual to generate the 8-bit Type1 fonts for PDFTeX. The problem here was that you did not repeat this process after installing the bold font.



You can try replacing the comicsans package with fontspec:



usepackage{fontspec}
defaultfontfeatures{ Scale = MatchUppercase, Ligatures = TeX }
setmainfont{Comic Sans MS}[Scale = 1.0]


If you also want to replace the math letters, you might load mathastext afterwards, or



usepackage{unicode-math}
setmathfont{XITS Math}
setmathfont[range = up]{Comic Sans MS}
setmathfont[range = it]{Comic Sans MS Italic}
setmathfont[range = bfup]{Comic Sans MS Bold}
setmathfont[range = bfit]{Comic Sans MS Bold Italic}


According to Microsoft, Comic Sans MS is in fact included with Windows 10. As for why the font might not be installed, Microsoft explains:




A number of additional fonts are available for Desktop and Server, including all other fonts from previous releases. However, not all of these are pre-installed by default in all images. In order to make disk usage and font choices more relevant to users according to the languages that they use, a number of fonts have been moved into optional, on-demand packages. These packages are designed around the different scripts that fonts are primarily intended to support, and most are installed automatically by Windows Update when the associated languages are enabled in language settings (for example, by enabling a keyboard). Any of these Feature On Demand (FOD) packages can also be installed manually via Settings. To add font packages manually, Select the Start button, and then select Settings > Apps > Apps & features > Manage optional features.




If for some reason that does not work either, an older version of them is legally available gratis as part of the redistributable Microsoft Core Fonts for the Web. MS does sell workstation licenses for the most recent version of the font.






share|improve this answer


























  • Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

    – CasperYC
    2 hours ago











  • Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

    – CasperYC
    1 hour ago











  • If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

    – Davislor
    1 hour ago
















0












0








0







The comicsans package does not include Type1 versions of the Comic Sans font, for legal reasons. You must have the TTF files installed first and follow the instructions in the manual to generate the 8-bit Type1 fonts for PDFTeX. The problem here was that you did not repeat this process after installing the bold font.



You can try replacing the comicsans package with fontspec:



usepackage{fontspec}
defaultfontfeatures{ Scale = MatchUppercase, Ligatures = TeX }
setmainfont{Comic Sans MS}[Scale = 1.0]


If you also want to replace the math letters, you might load mathastext afterwards, or



usepackage{unicode-math}
setmathfont{XITS Math}
setmathfont[range = up]{Comic Sans MS}
setmathfont[range = it]{Comic Sans MS Italic}
setmathfont[range = bfup]{Comic Sans MS Bold}
setmathfont[range = bfit]{Comic Sans MS Bold Italic}


According to Microsoft, Comic Sans MS is in fact included with Windows 10. As for why the font might not be installed, Microsoft explains:




A number of additional fonts are available for Desktop and Server, including all other fonts from previous releases. However, not all of these are pre-installed by default in all images. In order to make disk usage and font choices more relevant to users according to the languages that they use, a number of fonts have been moved into optional, on-demand packages. These packages are designed around the different scripts that fonts are primarily intended to support, and most are installed automatically by Windows Update when the associated languages are enabled in language settings (for example, by enabling a keyboard). Any of these Feature On Demand (FOD) packages can also be installed manually via Settings. To add font packages manually, Select the Start button, and then select Settings > Apps > Apps & features > Manage optional features.




If for some reason that does not work either, an older version of them is legally available gratis as part of the redistributable Microsoft Core Fonts for the Web. MS does sell workstation licenses for the most recent version of the font.






share|improve this answer















The comicsans package does not include Type1 versions of the Comic Sans font, for legal reasons. You must have the TTF files installed first and follow the instructions in the manual to generate the 8-bit Type1 fonts for PDFTeX. The problem here was that you did not repeat this process after installing the bold font.



You can try replacing the comicsans package with fontspec:



usepackage{fontspec}
defaultfontfeatures{ Scale = MatchUppercase, Ligatures = TeX }
setmainfont{Comic Sans MS}[Scale = 1.0]


If you also want to replace the math letters, you might load mathastext afterwards, or



usepackage{unicode-math}
setmathfont{XITS Math}
setmathfont[range = up]{Comic Sans MS}
setmathfont[range = it]{Comic Sans MS Italic}
setmathfont[range = bfup]{Comic Sans MS Bold}
setmathfont[range = bfit]{Comic Sans MS Bold Italic}


According to Microsoft, Comic Sans MS is in fact included with Windows 10. As for why the font might not be installed, Microsoft explains:




A number of additional fonts are available for Desktop and Server, including all other fonts from previous releases. However, not all of these are pre-installed by default in all images. In order to make disk usage and font choices more relevant to users according to the languages that they use, a number of fonts have been moved into optional, on-demand packages. These packages are designed around the different scripts that fonts are primarily intended to support, and most are installed automatically by Windows Update when the associated languages are enabled in language settings (for example, by enabling a keyboard). Any of these Feature On Demand (FOD) packages can also be installed manually via Settings. To add font packages manually, Select the Start button, and then select Settings > Apps > Apps & features > Manage optional features.




If for some reason that does not work either, an older version of them is legally available gratis as part of the redistributable Microsoft Core Fonts for the Web. MS does sell workstation licenses for the most recent version of the font.







share|improve this answer














share|improve this answer



share|improve this answer








edited 5 mins ago

























answered 2 hours ago









DavislorDavislor

6,0171227




6,0171227













  • Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

    – CasperYC
    2 hours ago











  • Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

    – CasperYC
    1 hour ago











  • If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

    – Davislor
    1 hour ago





















  • Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

    – CasperYC
    2 hours ago











  • Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

    – CasperYC
    1 hour ago











  • If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

    – Davislor
    1 hour ago



















Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

– CasperYC
2 hours ago





Is there a way to do this with pdflatex? I don't think pdflatex work with fontspec.

– CasperYC
2 hours ago













Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

– CasperYC
1 hour ago





Btw, before I downloaded comic.ttf, the PDF was displayed as squares only. And when I was installing the file for the very first time, windows did not show any warning of replacing an existing font. So it must be a BUG for Windows 10.

– CasperYC
1 hour ago













If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

– Davislor
1 hour ago







If you’re using PDFLaTeX, you will need to regenerate Type 1 versions of the fonts according to the instructions in the package manual. Repeat them now that your bold font is installed.

– Davislor
1 hour ago












CasperYC is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















CasperYC is a new contributor. Be nice, and check out our Code of Conduct.













CasperYC is a new contributor. Be nice, and check out our Code of Conduct.












CasperYC is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472991%2fdoes-the-comicsans-package-work-on-stock-windows-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks