I try to change the font size of package explorer in Eclipse from menu Window → Preferences → General → Appearance, and I fail to change
This worked for me using version 2019-09 on Windows 10:
C:\Users\johndoe\.p2\pool\plugins in File Explorer, replacing "johndoe" with your own Windows user ID.org.eclipse.ui.themes.org.eclipse.ui.themes_1.2.700.v20190826-0816.css.Tree { font-size: 24px; font: Mistral; }
Save the file and restart Eclipse. You should see that the font has been changed in the Project Explorer and Package Explorer views, and a lot of other places as well:
Just be clear, the name of the file I edited was C:\Users\johndoe\.p2\pool\plugins\org.eclipse.ui.themes_1.2.700.v20190826-0816\css\e4_default_win.css. The name of the file you edit won't be exactly that, but it should be similar.