Open marcuswildx opened 4 years ago
Thanks for the detailed report.
Can you show me exactly how you load fonts? i.e., what's in your main HTML file, inside your css, and so forth.
In this case, I don't need the full widget, but enough to understand how fonts are being loaded in your case.
body { margin: 0; padding: 0; font-weight:10; font-family:OdinRoundedBold; color:#f3f3f3; }
@font-face { font-family:OdinRoundedBold; src: url(Images/OdinRoundedBold.otf); }
@font-face { font-family:OdinRoundedBold; src: url(Images/OdinRoundedBold.otf); }
position:absolute; top:0px; left:0px; width:375px; height:667px;
}
position:absolute; top:4%; left:12%; width:75%; height:10%; z-index:50;
background-color:none;opacity:0;
circle;border-radius: 15px;
}
position:absolute; top:18%; left:9.25%; width:45.5%; height:6.9%; z-index:50;
background-color:#000000;opacity:.15;
box-shadow:0px 0px 0px rgba(0,0,0,0);
Circle;border-radius:14px;
}
position:absolute; top:27%; left:9.25%; width:45.5%; height:6.9%; z-index:50;
background-color:#000000;opacity:.15;
box-shadow:0px 0px 0px rgba(0,0,0,0);
Circle;border-radius:14px;
}
position:absolute; top:18%; left:57%; width:35%; height:16%; z-index:50;
background-color:#000000;opacity:.15;
box-shadow:0px 0px 0px rgba(0,0,0,0);
Circle;border-radius:14px;
}
position:absolute; top:640px; left:60px; width:380px; height:50px; text-align:left; z-index:90;
font-size:12px;
}
position:absolute; top:20%; left:17.5%; width:5%; text-align:left; z-index:100;
}
position:absolute; top:20%; left:26%; width:100%; text-align:left; z-index:90;
font-size:5vmim;
}
position:absolute; top:28.5%; left:32%; width:100%; text-align:left; z-index:100;
font-size:5vmin;
}
position:absolute; top:27.7%; left:19.5%; width:9%; text-align:left; z-index:100;
}
position:absolute; top:23.9%;left:24.75%; width:100%; text-align:center;font-size:6vmin;z-index:100;
}
position:absolute; top:20%;left:63.75%;
width:22%; text-align:left;z-index:100;
}
First comment is Wallpaper.html, second is the Style.css
Something tells me the ‘xen.js’ is the culprit. Did this change on latest update of XENHTML?
I don’t provide a Xen.js, that’s something from your end!
In this case, it has to do with how widgets get processed before loading. I think that it’s failing to load the fonts from the relevant folder. This something to fix my end.
Okay wasn’t sure. Was making a guess. Yeah I even tried to delete the extra font face script in there to see if that was the issue and didn’t work. So I assume the loading issue of the font is on the beta end of things. Sounds good thanks a lot for your time. Look forward to your fix cause my screens ugly haha 😆
Hate to ask but did you happen to figure it out :(
Please let me know if this new build helps: https://www.dropbox.com/s/hpzx8tcrpe0l0fv/com.matchstic.xenhtml_2.0~beta1.3_iphoneos-arm.deb?dl=0
Still loading default font on that build.
Can you post the full widget please? Or, email me a copy at matt@incendo.ws
This is something I don’t think I can fix without an example exhibiting the issue.
On 29 May 2020, at 00:41, marcuswildx notifications@github.com wrote:
Still loading default font on that build.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Just sent a zip.
I just attempted to put the font family under each section of the widget and still nothing. Pretty much tried everything I could to trouble shoot my end to my knowledge. Good luck and thanks for doing all you do.
Also, I noticed when I goto add it to xenhtml it’ll flash the normal font (dosis-bold) for a split second and revert to iOS font; or default font. Sometimes does it when I attempt to reload the widget via moving it around on the preview screen.
Actually... to be quite honest. Every single one of my widgets is doing it. I just tried all of them and not a single one is loading correct fonts.
Unfortunately I didn’t receive your email with the widget.
Is there any on Cydia that exhibit the issue? It might be easier to give the name and repo of one, and then for me to download it.
On 29 May 2020, at 01:12, marcuswildx notifications@github.com wrote:
Actually... to be quite honest. Every single one of my widgets is doing it. I just tried all of them and not a single one is loading correct fonts.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Yeah I don’t know why it won’t send. Never really tried to email a zip from my phone from filza.
Regardless, all my tweaks are doing it, not just that one. May be a device/install/database issue.
Font script is failing to load on the home screen with latest update.
When i add widget in xenhtml settings it doesn’t work, also when using the ‘add widget’ button on the home screen it does not work.
When I preview the Wallpaper.html it shows the font loading correctly, but when the widget is being used on the home screen its defaulting to iOS font and not showing the font used from the Style.css
Included screenshots of before and after xenhtml update. Also included style.css of font settings.