kontur / fontsampler-wordpress-plugin

A Wordpress plugin that let's users interactively preview and test webfonts
http://fontsampler.johannesneumeier.com
GNU General Public License v3.0
38 stars 8 forks source link

Drop Down Menu in Font Sampler will not display Font Names #178

Open adamg76 opened 3 years ago

adamg76 commented 3 years ago

When I enter a single font into the font sampler list, it will display the Font Name that I assigned. When I add a second to the list and it goes to a drop down menu, it converts to the original font name and will not use the one that I assigned to it. I looked through the other comments and did not see this issue with anyone else. Am I missing something or is there a bug?

kontur commented 3 years ago

Hm, let me check. So you have a single font in a tester and instead of the dropdown the font name should be rendered there, right?

adamg76 commented 3 years ago

Good morning. Thank you for the quick response. So when I put only one font selection in it displays the font name as defined in your add on. When I add 2 or more to the list and the drop down selection appears it reverts to some name in the font file rather than my defined font name defined in your add on. Let me know your thoughts. Not sure if I am just doing something wrong. Thanks.

Adam

Sent from my iPhone

On May 17, 2021, at 8:14 AM, Johannes Neumeier @.***> wrote:

 Hm, let me check. So you have a single font in a tester and instead of the dropdown the font name should be rendered there, right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kontur commented 3 years ago

Sounds like a bug; it might be using the wrong file name somewhere (it does keep a reference of the one in the file name, as far as I recall).

adamg76 commented 3 years ago

Ok. I just want to make sure that I am not missing something. These are specific font files I am trying to use and have specific names that are different from what the font is named. These are ttf files and not woff. Not sure if that is the problem but I can’t get them converted to woff. Let me know your thoughts. Thank you again for the help.

Adam

Sent from my iPhone

On May 17, 2021, at 8:48 AM, Johannes Neumeier @.***> wrote:

 Sounds like a bug; it might be using the wrong file name somewhere (it does keep a reference of the one in the file name, as far as I recall).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kontur commented 3 years ago

When you say "different from what the font is named" — are you talking about the font internal meta name tables, or the file names? If the name cannot be automatically extracted from the files, you can still pick the font name manually when you add the files. If the names cannot be extracted, this might also point towards other problems with the file. Are those open source fonts, or proprietary fonts you licensed?

adamg76 commented 3 years ago

These are files that the person I am working with purchased. They are not files I can get changed. When we load a font into Wordpress then load it into the font sampler section, your program allows us to put in a font name and select it in the options section to display the name we named it in the font sampler program. When I load a single font into a font grouping for use it will show the name above the customer typed name. When I load a second option in and the font sampler switches to a drop down menu for selection it reverts to something it grabs out of the tff file. I can’t get it to display the name I inputted. Let me know what else you may need. I could also send you screen shots later when I get home if that would help. Thanks.

Adam

Sent from my iPhone

On May 17, 2021, at 10:08 AM, Johannes Neumeier @.***> wrote:

 When you say "different from what the font is named" — are you talking about the font internal meta name tables, or the file names? If the name cannot be automatically extracted from the files, you can still pick the font name manually when you add the files. If the names cannot be extracted, this might also point towards other problems with the file. Are those open source fonts, or proprietary fonts you licensed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.