Java / JavaScript: 是否有关于字符串中字体类型的信息?

huangapple go评论71阅读模式
英文:

Java/Javascript: Is there information about font type in String?

问题

Java或JavaScript字符串中是否包含有关字体类型的信息?例如,像Arial、Comic Sans这样的字体类型。
如果是的话,我是否可以在传递到其他地方(如SQL数据库)之前更改字体类型?

英文:

Does Java or Javascript String contains the information about the font type? For example, font type like Arial, Comic Sans.
If yes, can I change the font type before passing in to other places like sql database?

答案1

得分: 2

Strings contain no information regarding font type.
如果您正在处理网页,字体系列将在您的CSS文件中声明。

英文:

Strings contain no information regarding font type.

If you are working on a web page, the font family will be declared within your CSS file.

huangapple
  • 本文由 发表于 2020年9月1日 19:17:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/63686604.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定