MourningStar wrote: ↑July 28th, 2021, 6:22 pmLookin' good in the neighborhood! You, sir, are a star.
A star or an angel? Cause you seem to be undecided on this...
Joking aside, I'm glad you like it.
MourningStar wrote: ↑July 28th, 2021, 6:22 pmFirst observation (Issue could be on my end):
When I middle mouse clik on the image (camera in this skin) it toggles between system and skin's font folder (which has 11 fonts btw) correct? If yes, when the fonts folder is 'active' I am noticing that the last font remains displayed and I go thru a total of 16 cliks. I would expect only 10 cliks for the 11 fonts to appear. I see and expect this when the system fonts is 'active' because many fonts look identical. I will not require system fonts availability so I will have no need of that code or middlemouse switching code etc. relative code.
thoughts?
No, the "issue" is not on your end, it's not on mine either, and it's not on the code either - and it happens to me too, forgot to mention it, even though I was sure you'd have a question about it. It's just that one (or some of the fonts there) - I believe it's the
NewMedia.ttf ones - yields multiple identical "font names" entries, and this is clearly visible in my RainFont version of the code, which displays both the font name and its index, but can be seen if you run the commands in PowerShell itself as well (I placed those fonts in my D:\aaa folder here for simplicity):
PSFonts.jpg
You can clearly see that both when getting the font names from all the files in the folder, as well as those specific "identical multi-font" TTF-s, the commands yield multiple entries. I have no idea why as I'm not really an expert in fonts, but you can rest assured that nothing is "malfunctioning" anywhere. If you're annoyed by it, just replace those "multi-font" files with others or something along those lines.
P.S. For easy copy paste testing, the commands are:
Code: Select all
Add-Type -AssemblyName PresentationCore; Get-ChildItem 'CompletePathToYourFontFolderOrFile' -Include *.otf,*.ttf | Foreach-Object {(New-Object -TypeName Windows.Media.GlyphTypeface -ArgumentList $_.FullName).Win32FamilyNames.Values}
Obviously, replace the
CompletePathToYourFontFolderOrFile part with your actual path, similar to how I did in the screenshots.
You do not have the required permissions to view the files attached to this post.