WebSite X5Help Center

 
Nigel A.
Nigel A.
User

Wrong Fonts accidentally used by copy / paste. Reset them to template's default.  en

Autor: Nigel A.
Visitado 1142, Seguidores 1, Compartilhado 0  

This was self inflicted pain! I'm converting a web site from Joomla to WebSite X5. In a few cases I forgot to copy the text to the notepad before re-copying the plain text and pasting in WebSite. (This web site has over 350 html pages.)

So now I get the message about missing Fonts, and I want no more Fonts in this project. If I add the fonts (as many people have said in posts) I don't want to have spend hours looking through every page to try and see where they were displayed so I can change them back to default.

1/ The message states, " Run the Project Analysis in Step 5 to identify and missing fonts". I cannot find Project Analysis in Step 5, and none of the other "checkers" seem to give an indication where those pesky fonts are being used. I also don't need to know what fonts are missing (you already told me that), but which .html page they are used.

2/ On the initial dialog that shows missing fonts. Why not have a "convert button" that automatically changes the missing fonts to the defaults? It should also be a setting so that it happens while in design mode. "Change Missing Font on Paste to "Default"". 

Nigel.

Publicado em
10 RESPOSTAS - 1 ÚTIL
Daniel W.
Daniel W.
User
Usuário do mês EN

If you want to keep it simple, ignore the message that WebSite X5 replaces these fonts with standard fonts.

If the standard fonts used by WebSite on the Internet pages are disturbing, you can remove the formatting from the texts on these pages using the known detour (simple text editor).

Otherwise wait for the moderators or Incomedia employees, maybe they have further tips.

I also got the messages, but I don't remember exactly what I did, in any case the message didn't come anymore.

Ler mais
Publicado em de Daniel W.
Nigel A.
Nigel A.
User
Autor

Daniel, 

It would be nice to have a real fix for this issue. I know we are not the only two that have been caught out!

The message is useful, but not when you don't have tools to find the "missing font and what page it is on". And just adding the missing font is not a good way to fix because somewhere on your web-site there will be a page(s) that use different fonts, and just not look right. Especially as there is no real standard for Font verses Size. 

Ler mais
Publicado em de Nigel A.
Franz-Josef H.
Franz-Josef H.
Moderator

An effective method of finding the font under Windows is in the project folder, usually at this path...

C:\Users\NamedesUsers\Documents\Incomedia\WebSite X5 - Professional\2022.2\your project name\Preview\pcss

Enter the name of the font in the search field at the top right of the explorer window. The files found are the style definitions and have the same name as the associated page in the project. There you can mark the texts and select your standard font.

Ler mais
Publicado em de Franz-Josef H.
Nigel A.
Nigel A.
User
Autor

Franz-Josef,

I did look into this but there are so many files it would be a long job, and very error prone,  to correct something that should be done safely and programatically.

Don't get me wrong, I really like WebSite X5 and between the program and myself I've been able to totally redesign the website to display the video interviews that we do. This has created a website with over 320 .html pages, and it works beautifully. But I sometimes sit here and wonder if the program is under active development.

But issues like this (and there have been other issues were I'm advised of a workaround rather than doing the correct thing and fixing the code) should be looked at by development and fixed correctly. I managed a software support group for years, if I had told my customers, "Now edit the database by hand", I would not have been in that job for long!!

All this needs is a setting that simply states, "Convert unknown Fonts to system "Default" - Yes / No" or under the step 5 "Optimize the Website" have a setting, "Change unknown fonts to Default - Yes / No"

And of course, that error message should change  because there is no "Project Analysis".

Nigel.

Ler mais
Publicado em de Nigel A.
Incomedia
Stefano G.
Incomedia

Hello Nigel

In most cases, these fonts errors are shown because in some text object of the project, a copy/paste of text content from an external editor has been done directly within the project

Copying/pasting from external editors risks bringing with you particular formats that remain hidden in the text code, but are not visible

So the software detects that fonts are requested but are not configured and therefore fails to show them and is also unable to remove them automatically for technical reasons

This issue does not cause any problems for the project except the warning that appears on opening, which shouldn't be a big problem in itself

However, if you wish to attempt to remove these latent fonts, you need to create a private topic and post your project here. I will check for you if it is possible to delete the texts with the problems and then re-insert them

I remain available

Stefano

Ler mais
Publicado em de Stefano G.
Nigel A.
Nigel A.
User
Autor

Stefano,

Thank you kindly for the offer to help. The project is really big (.iwzip - 45 megs approx 250+ .html pages) so I would not expect you to try and sort out "my" mess! (I now paste to Notepad first, then copy / paste into project)

Is there a reason why development cannot put in a real fix for this issue? When the dialog pops up with the message about real fonts, add a new button, "Fix Fonts" and just let the program change the missing fonts to default, or in settings have an option to change missing fonts on a paste / existing to default.

Plus of course we have the end of the message pointing to a command in Step 5 that doesn't exist!

Anyways, thank you for the offer to help but it's just annoying, not a show stopper.

Nigel. 

Ler mais
Publicado em de Nigel A.
Incomedia
Stefano G.
Incomedia

Hello Nigel

Unfortunately, this is not possible.

The message would actually be able to fix the issue if you were to add a font to the font list of the software and then remove it because the software actually had the font imported into it at one time so it would be handled differently.

This situation however is peculiar. The software can see that some "hidden" codes mention a font, but the software finds no reference to it, so it's unable to remove it. Essentially because it didn't generate the font code itself, but it was copied from an external source.

It's like, in one case the software created references to the font itself, so if the font disappears the software knows what to remove.

But if the font just appeared without references generated by the software, the software could simply see it but no know how to remove it

I remain available here

Stefano

Ler mais
Publicado em de Stefano G.
Nigel A.
Nigel A.
User
Autor

Stefano,

You really surprise me!! I was in development doing Project Management / SQA / whatever innocent

I would have thought that on the initial read of the paste (this being the only way it can happen) as soon as it encounters a font name it does not know about (like Font-Nigel) it could immediatly replace the font name with something it does recognize (like Default: Font-Stefeno).  

Nigel.

p.s. Oh well! The site is working brilliantly, no issues at all.

Ler mais
Publicado em de Nigel A.
Donald B.
Donald B.
User

(In a few cases I forgot to copy the text to the notepad before re-copying the plain text and pasting in WebSite.)

Hello Nigel, just a friendly reminder, in the future you can use "Paste Special" instead of notepad.

After copy just right click where you want your text to go and a window will open.

I was doing the same thing, sure is a time saver.

Ler mais
Publicado em de Donald B.
Nigel A.
Nigel A.
User
Autor

Donald, Good Tip ... Thank You.

Ler mais
Publicado em de Nigel A.