Processing.js fonts not loadingCan I embed a custom font in an iPhone application?CSS Font Border?Processing.js won't load scriptandroid webview not able to add Custom font?Processing.js won't run. Minim error?How do I make an attributed string using Swift?Processing.js — Programatically creating arc shapes (perhaps using SVG?)Fonts not loading on iOS but load fine in AndroidAdd external font failed but for all fontsCustom Font is not loading in application in Swift

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?

How can "mimic phobia" be cured or prevented?

On a tidally locked planet, would time be quantized?

Which one is correct as adjective “protruding” or “protruded”?

L1 and Ln cache: when are they written?

"Spoil" vs "Ruin"

lightning-datatable row number error

Why electric field inside a cavity of a non-conducting sphere not zero?

Are paving bricks differently sized for sand bedding vs mortar bedding?

C++ debug/print custom type with GDB : the case of nlohmann json library

Start making guitar arrangements

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

A social experiment. What is the worst that can happen?

Aragorn's "guise" in the Orthanc Stone

Are the IPv6 address space and IPv4 address space completely disjoint?

Is this toilet slogan correct usage of the English language?

If infinitesimal transformations commute why dont the generators of the Lorentz group commute?

Loading commands from file

How to indicate a cut out for a product window

Open a doc from terminal, but not by its name

How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?

Is it better practice to read straight from sheet music rather than memorize it?

How could a planet have erratic days?



Processing.js fonts not loading


Can I embed a custom font in an iPhone application?CSS Font Border?Processing.js won't load scriptandroid webview not able to add Custom font?Processing.js won't run. Minim error?How do I make an attributed string using Swift?Processing.js — Programatically creating arc shapes (perhaps using SVG?)Fonts not loading on iOS but load fine in AndroidAdd external font failed but for all fontsCustom Font is not loading in application in Swift













0















I'm making a game in Processing.js, and I need to add two custom fonts. The second one I load works fine (OXYGENE1.TTF). However the first one I load doesn't work at all (CenturyGothic.ttf).
Here is my code:
/* @pjs font="CenturyGothic.ttf,OXYGENE1.TTF"; */

I have checked the URLS over and over, even copying and pasting the name of the file. It's in the same directory as the other one, so I shouldn't need to add a folder, right?

This is for a game jam, so a quick response would be very much appreciated. Thanks!










share|improve this question

















  • 1





    Processing.js has been shut down (I archived it at the start of December 2018), and will never receive updates or support again. Please don't start any new projects with it, especially not hackjams where you want to find answers quickly. Have a look at p5.js instead over on p5js.org for a modern web-based Processing-like, with a large community, and a ton of tutorial work by Daniel Shiffman.

    – Mike 'Pomax' Kamermans
    2 days ago












  • Rest in peace my childhood. (I grew up on Processing.js)

    – Sam Hill
    2 days ago











  • It filled an important gap at the time, but that gap has basically disappeared. P5js is pretty sweet though, check it out if you hadn't already (and the "coding train" video series by Shiffman is kinda of great? Some episodes are in P5, others p5js, but it's rare that you don't learn something even if you already know "how to do that thing he's doing")

    – Mike 'Pomax' Kamermans
    2 days ago











  • How different is it from processing.js? I don’t want to have to rewrite my whole project, but I will definitely check it out.

    – Sam Hill
    2 days ago











  • it's a bit more native JS, which frankly is super nice because it means all the quirks of Pjs that existed because JS isn't Java don't come into play. There's some syntax and conventiion differences, but nothing so big it makes porting a project a chore, I'd say (unless it's a huge project, in which case every refactor is a chore =)

    – Mike 'Pomax' Kamermans
    2 days ago















0















I'm making a game in Processing.js, and I need to add two custom fonts. The second one I load works fine (OXYGENE1.TTF). However the first one I load doesn't work at all (CenturyGothic.ttf).
Here is my code:
/* @pjs font="CenturyGothic.ttf,OXYGENE1.TTF"; */

I have checked the URLS over and over, even copying and pasting the name of the file. It's in the same directory as the other one, so I shouldn't need to add a folder, right?

This is for a game jam, so a quick response would be very much appreciated. Thanks!










share|improve this question

















  • 1





    Processing.js has been shut down (I archived it at the start of December 2018), and will never receive updates or support again. Please don't start any new projects with it, especially not hackjams where you want to find answers quickly. Have a look at p5.js instead over on p5js.org for a modern web-based Processing-like, with a large community, and a ton of tutorial work by Daniel Shiffman.

    – Mike 'Pomax' Kamermans
    2 days ago












  • Rest in peace my childhood. (I grew up on Processing.js)

    – Sam Hill
    2 days ago











  • It filled an important gap at the time, but that gap has basically disappeared. P5js is pretty sweet though, check it out if you hadn't already (and the "coding train" video series by Shiffman is kinda of great? Some episodes are in P5, others p5js, but it's rare that you don't learn something even if you already know "how to do that thing he's doing")

    – Mike 'Pomax' Kamermans
    2 days ago











  • How different is it from processing.js? I don’t want to have to rewrite my whole project, but I will definitely check it out.

    – Sam Hill
    2 days ago











  • it's a bit more native JS, which frankly is super nice because it means all the quirks of Pjs that existed because JS isn't Java don't come into play. There's some syntax and conventiion differences, but nothing so big it makes porting a project a chore, I'd say (unless it's a huge project, in which case every refactor is a chore =)

    – Mike 'Pomax' Kamermans
    2 days ago













0












0








0








I'm making a game in Processing.js, and I need to add two custom fonts. The second one I load works fine (OXYGENE1.TTF). However the first one I load doesn't work at all (CenturyGothic.ttf).
Here is my code:
/* @pjs font="CenturyGothic.ttf,OXYGENE1.TTF"; */

I have checked the URLS over and over, even copying and pasting the name of the file. It's in the same directory as the other one, so I shouldn't need to add a folder, right?

This is for a game jam, so a quick response would be very much appreciated. Thanks!










share|improve this question














I'm making a game in Processing.js, and I need to add two custom fonts. The second one I load works fine (OXYGENE1.TTF). However the first one I load doesn't work at all (CenturyGothic.ttf).
Here is my code:
/* @pjs font="CenturyGothic.ttf,OXYGENE1.TTF"; */

I have checked the URLS over and over, even copying and pasting the name of the file. It's in the same directory as the other one, so I shouldn't need to add a folder, right?

This is for a game jam, so a quick response would be very much appreciated. Thanks!







fonts processing loading processing.js






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









Sam HillSam Hill

12




12







  • 1





    Processing.js has been shut down (I archived it at the start of December 2018), and will never receive updates or support again. Please don't start any new projects with it, especially not hackjams where you want to find answers quickly. Have a look at p5.js instead over on p5js.org for a modern web-based Processing-like, with a large community, and a ton of tutorial work by Daniel Shiffman.

    – Mike 'Pomax' Kamermans
    2 days ago












  • Rest in peace my childhood. (I grew up on Processing.js)

    – Sam Hill
    2 days ago











  • It filled an important gap at the time, but that gap has basically disappeared. P5js is pretty sweet though, check it out if you hadn't already (and the "coding train" video series by Shiffman is kinda of great? Some episodes are in P5, others p5js, but it's rare that you don't learn something even if you already know "how to do that thing he's doing")

    – Mike 'Pomax' Kamermans
    2 days ago











  • How different is it from processing.js? I don’t want to have to rewrite my whole project, but I will definitely check it out.

    – Sam Hill
    2 days ago











  • it's a bit more native JS, which frankly is super nice because it means all the quirks of Pjs that existed because JS isn't Java don't come into play. There's some syntax and conventiion differences, but nothing so big it makes porting a project a chore, I'd say (unless it's a huge project, in which case every refactor is a chore =)

    – Mike 'Pomax' Kamermans
    2 days ago












  • 1





    Processing.js has been shut down (I archived it at the start of December 2018), and will never receive updates or support again. Please don't start any new projects with it, especially not hackjams where you want to find answers quickly. Have a look at p5.js instead over on p5js.org for a modern web-based Processing-like, with a large community, and a ton of tutorial work by Daniel Shiffman.

    – Mike 'Pomax' Kamermans
    2 days ago












  • Rest in peace my childhood. (I grew up on Processing.js)

    – Sam Hill
    2 days ago











  • It filled an important gap at the time, but that gap has basically disappeared. P5js is pretty sweet though, check it out if you hadn't already (and the "coding train" video series by Shiffman is kinda of great? Some episodes are in P5, others p5js, but it's rare that you don't learn something even if you already know "how to do that thing he's doing")

    – Mike 'Pomax' Kamermans
    2 days ago











  • How different is it from processing.js? I don’t want to have to rewrite my whole project, but I will definitely check it out.

    – Sam Hill
    2 days ago











  • it's a bit more native JS, which frankly is super nice because it means all the quirks of Pjs that existed because JS isn't Java don't come into play. There's some syntax and conventiion differences, but nothing so big it makes porting a project a chore, I'd say (unless it's a huge project, in which case every refactor is a chore =)

    – Mike 'Pomax' Kamermans
    2 days ago







1




1





Processing.js has been shut down (I archived it at the start of December 2018), and will never receive updates or support again. Please don't start any new projects with it, especially not hackjams where you want to find answers quickly. Have a look at p5.js instead over on p5js.org for a modern web-based Processing-like, with a large community, and a ton of tutorial work by Daniel Shiffman.

– Mike 'Pomax' Kamermans
2 days ago






Processing.js has been shut down (I archived it at the start of December 2018), and will never receive updates or support again. Please don't start any new projects with it, especially not hackjams where you want to find answers quickly. Have a look at p5.js instead over on p5js.org for a modern web-based Processing-like, with a large community, and a ton of tutorial work by Daniel Shiffman.

– Mike 'Pomax' Kamermans
2 days ago














Rest in peace my childhood. (I grew up on Processing.js)

– Sam Hill
2 days ago





Rest in peace my childhood. (I grew up on Processing.js)

– Sam Hill
2 days ago













It filled an important gap at the time, but that gap has basically disappeared. P5js is pretty sweet though, check it out if you hadn't already (and the "coding train" video series by Shiffman is kinda of great? Some episodes are in P5, others p5js, but it's rare that you don't learn something even if you already know "how to do that thing he's doing")

– Mike 'Pomax' Kamermans
2 days ago





It filled an important gap at the time, but that gap has basically disappeared. P5js is pretty sweet though, check it out if you hadn't already (and the "coding train" video series by Shiffman is kinda of great? Some episodes are in P5, others p5js, but it's rare that you don't learn something even if you already know "how to do that thing he's doing")

– Mike 'Pomax' Kamermans
2 days ago













How different is it from processing.js? I don’t want to have to rewrite my whole project, but I will definitely check it out.

– Sam Hill
2 days ago





How different is it from processing.js? I don’t want to have to rewrite my whole project, but I will definitely check it out.

– Sam Hill
2 days ago













it's a bit more native JS, which frankly is super nice because it means all the quirks of Pjs that existed because JS isn't Java don't come into play. There's some syntax and conventiion differences, but nothing so big it makes porting a project a chore, I'd say (unless it's a huge project, in which case every refactor is a chore =)

– Mike 'Pomax' Kamermans
2 days ago





it's a bit more native JS, which frankly is super nice because it means all the quirks of Pjs that existed because JS isn't Java don't come into play. There's some syntax and conventiion differences, but nothing so big it makes porting a project a chore, I'd say (unless it's a huge project, in which case every refactor is a chore =)

– Mike 'Pomax' Kamermans
2 days ago












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281154%2fprocessing-js-fonts-not-loading%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • 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%2fstackoverflow.com%2fquestions%2f55281154%2fprocessing-js-fonts-not-loading%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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript