Google Arabic font not loading - updated

Hi and good day,
See below Update/ Two observations

The Noto Naskh Arabic font is only applied to 1 Paragraph stack - above the HTML stack in blue letters. MAIN

Maybe it can be seen if something is missing. (Changing to another Google font was no problem.)

If someone can chip in about why this Google Arabic font is not loading…

I followed the tutorial video - Google Fonts using Typeface.

The typeface stack Is in a partial where the Foundry stack is, too.


Update/ Two observations 2022-10-01

Instead of the Noto Naskh Arabic:400,

RW doesn’t pick it up and renders <span style="font:18px GeezaPro; ">

I’m not using GeezaPro anywhere.

In RW I see

<link href="https://fonts.googleapis.com/css?family=Noto Naskh Arabic:400," rel="stylesheet">

in a non-RW page where Noto Naskh Arabic is rendered correctly it shows

<link rel="preconnect" href="https://fonts.googleapis.com">

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<link href="https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic&display=swap" rel="stylesheet">

with 2 preconnect links.

so here we have css2, not only css.
/

with best regards, Omar KN, Stockholm, Sweden

Did you copy and paste the text from somewhere? If so it like brought formatting with it. Delete the Paragraph then manually type the text or use the Paste as Plain Text option from the Edit menu in RW.

Nope.

Always <span style="font:12px GeezaPro; ">

In one instance I got

<span style="font:12px GeezaPro; ">يَا</span> <span style="font:12px GeezaPro; ">أَيُّهَا</span> <span style="font:12px GeezaPro; ">النَّبِيُّ</span> …

I use new Paragraph stack every time, with Paste as Plain Text, I had the string in BBEdit Notes to make it styleless .

Maybe I can use the HTML stack and the css, - ……

Provide a project file and when I get internet access back from the hurricane outage I can look at it or maybe someone else can look at it before then.

I received an email with your WeTransfer link. Just a heads up there is no estimate from my internet provider as to when service will be restored. So just a heads up — by emailing just me the project it guarantees that it cannot be looked at any sooner than when I personally can take a look.

It looks to me that RapidWeaver is adding the inline font declaration for GeezaPro. Foundry does not do this in any way, shape or form. It my guess that it is a default font meant for displaying Arabic characters in RapidWeaver.

In fact if I copy the text to TextEdit, pasting it as plain text there, re-copy it and also paste as plain text in RapidWeaver, it adds it to each character:

This inline font issue is not one I can address for you. To get that seen to you’ll need to contact Realmac Software I suspect.

Something to note: You’re using Containers for grouping content. This is not what the Container tool is for. You’re adding unnecessary code to the page. Use the Group tool for grouping content.

Yes, it’s tricky with Arabic (a.o. non-Latin) fonts on the web, I’ll contact Realmac Software ASAP.


I heard this before - thanks for an extra piece of advice. From today onwards it is the Groop stack!

But the container is just <div class…> this would not slow down a page, would it?

/

with best regards, Omar KN, Stockholm, Sweden

You’re also loading any CSS that the Container tool has. Group has no such code. Additionally Group is leaner in Edit Mode than Container. Group is the proper tool for the job.