Personal Book - Font 'Arial' is not a valid font for use in resources

JohnB
JohnB Member Posts: 1,085 ✭✭
edited November 2024 in English Forum

Suddenly I have been getting error messages as follows.

[Error] Font 'Garamond' is not a valid font for use in resources.

[Error] Font 'Calibri Light' is not a valid font for use in resources.
[Error] Font 'Verdana' is not a valid font for use in resources.
[Error] Font 'Arial' is not a valid font for use in resources.
[Error] Font 'Calibri' is not a valid font for use in resources.

It still compiles and seems to cause no problems.

What causes it?? I can see nothing that can cause it but clearly something does!

Is there anyway of avoiding this as it hurts my pride to have them!!

Comments

  • Dave Hooton
    Dave Hooton MVP Posts: 36,149

    JohnB said:

    Is there anyway of avoiding this as it hurts my pride to have them!!

    I just shrug my shoulders!

    Dave
    ===

    Windows 11 & Android 13

  • DominicM
    DominicM Member Posts: 2,995 ✭✭✭

    did it previously compile without the errors? or is this a new PB?
    if you're allowed/happy to post in files will have a look, was source web? may be a css hangover

    Never Deprive Anyone of Hope.. It Might Be ALL They Have

  • Jukka Ylönen
    Jukka Ylönen Member Posts: 4 ✭✭

    I started to get similar error-message today.. and it doesn't help if I change fonts in Word document. [:(]

    [Info] Starting build for PBB:a725b81c8f06471f83de9e55bfee4344
    [Info] Converting
    [Info] Converting C:\Users\Jukka\Desktop\Example_personal_document.docx
    [Info] Compiling
    [Error] Font 'Courier New' is not a valid font for use in resources.
    [Info] Discovering
    [Error] Error while building book: Error while discovering resource.
    [Error] Exception: LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookBuilderException: Error while discovering resource.
    at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookConverter.DiscoverResource(String filename, ResourceManager resourceManager, LibraryCatalog libraryCatalog, KeyLinkManager keyLinkManager, IWorkState workState)
    at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookConverter.<CreatePersonalBookWork>d__2.MoveNext()
    at Libronix.Utility.Threading.AsyncWorkerTask`1.EnumMoveNext()
    at Libronix.Utility.Threading.AsyncWorkerTask`1.EnumMoveNextWithCatch()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Libronix.Utility.Threading.AsyncWorkItem.Verify()
    at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookViewModel.<CreatePersonalBookWork>d__137.MoveNext()

  • DominicM
    DominicM Member Posts: 2,995 ✭✭✭

    Never Deprive Anyone of Hope.. It Might Be ALL They Have

  • JohnB
    JohnB Member Posts: 1,085 ✭✭

    DominicM said:

    did it previously compile without the errors? or is this a new PB?
    if you're allowed/happy to post in files will have a look, was source web? may be a css hangover

    On both.
    In fact it appears on almost all PB that I compile now.
    I also just shrug my shoulders as long as it compiles!!
    I appreciate the thought of css but as I get it from converted pdf files that were scanned I doubt it.
    I suspect that it may be a Word problem that alterations in the complier have just brought to light.

  • JohnB
    JohnB Member Posts: 1,085 ✭✭

    I started to get similar error-message today.. and it doesn't help if I change fonts in Word document. Sad

    [Info] Starting build for PBB:a725b81c8f06471f83de9e55bfee4344
    [Info] Converting
    [Info] Converting C:\Users\Jukka\Desktop\Example_personal_document.docx
    [Info] Compiling
    [Error] Font 'Courier New' is not a valid font for use in resources.
    [Info] Discovering
    [Error] Error while building book: Error while discovering resource.
    [Error] Exception: LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookBuilderException: Error while discovering resource.
    at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookConverter.DiscoverResource(String filename, ResourceManager resourceManager, LibraryCatalog libraryCatalog, KeyLinkManager keyLinkManager, IWorkState workState)
    at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookConverter.<CreatePersonalBookWork>d__2.MoveNext()
    at Libronix.Utility.Threading.AsyncWorkerTask`1.EnumMoveNext()
    at Libronix.Utility.Threading.AsyncWorkerTask`1.EnumMoveNextWithCatch()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Libronix.Utility.Threading.AsyncWorkItem.Verify()
    at LDLS4.Panels.PersonalBookBuilderPanel.PersonalBookViewModel.<CreatePersonalBookWork>d__137.MoveNext()

    I find that worrying as I do not mind a refusal to compile as long as I can cure the problems and if I have no idea what caused the problem I have no ideal how to correct it. Hopefully a restart cured it.