diegodlh / zotero-cita

Cita: a Wikidata addon for Zotero with citations metadata support
GNU General Public License v3.0
218 stars 10 forks source link

Adjustable font size + text cut off in pop-ups #262

Open vnbcs opened 7 months ago

vnbcs commented 7 months ago

Is your feature request related to a problem? Please describe.

I am visually impaired. On my Ubuntu laptop, I use the built-in "Large Text" accessibility feature which increases the size of the system font. I also increased the font size in the Zotero app using Views > Font Size > Bigger. This info is relevant to both issues described below.

  1. The text in the Local Citation Network window is smaller than both my system font and the Zotero app font, and I cannot figure out how to make it bigger. image The above screenshot shows the difference between the Local Citation Network font and my system font, visible in the toolbar (displaying the date and time). image The above screenshot shows the difference between the Local Citation Network font (right) and the Zotero app font (left). It might not look like a huge difference, but it makes it significantly more difficult for me to read.

  2. Cita pop-ups have text cut off. image The above screenshot shows a Cita pop-up after running Cita > Fetch QID(s). I think there is another line of text, but I cannot read it because it is almost completely cut off. I assume this is because I use a larger font.

Describe the solution you'd like

  1. A way to adjust font size for the Local Citation Network window. This could be:
    • using the same font size as Zotero, so Views > Font Size also effects the Local Citation Network window
    • font size option in "Cita Preferences"
    • font size drop down selector within the Local Citation Network window
    • enabling zoom shortcuts*

*On Linux, many apps (but not Zotero, sadly) allow zooming in and out with CTRL+Plus Sign and CTRL+Minus Sign. Windows and Mac have corresponding commands using Winkey and Command instead of CTRL.

  1. Pop-ups that resize to display all text.

Describe alternatives you've considered I can zoom in on the network visualization using scroll, but it doesn't make the tooltip citation any bigger. image image

I can also use a screen reader to read the text... but it is not super useful to hear citations read aloud. I am also not blind enough to need a screen reader in most situations, so I usually have that feature turned off.

Additional context

Thanks for making such a wonderful addon! Cita is so useful and I am very grateful it exists.