![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
"open with" apps
-- using Sigil .9.13 "legacy" on XP
Regarding the "open with" right-click options: With an image selected in the file list, I can right-click on the filename to get "open with" and choose an app I have previously used. But if I right-click in the image panel, I get the "Open with" list; the apps I have previously used to open images are listed, but all greyed out and I cannot choose them. The only choice is "Other application". I can choose an app there, but though it joins the list, it is also grey and next time I still have to find it with "Other application". ![]() Also, there is no way to remove or change the names of apps on the "open with" list through the GUI. (I made a typo in the name of an app I added, wanted to correct it.) Looking in the ini file I find Code:
[open_with] editor_image=D:/IrfanView/i_view32.exe editor_description_image=Irfanview editor_html=D:/Uedit/uedit32.exe editor_description_html=uedit32 editor_font=C:/WINDOWS/system32/fontview.exe editor_description_font=fontview editors_image=Photoshp\x1f\x44:/Photoshop/Photoshp.exe, Photoshop\x1f\x44:/Photoshop/Photoshp.exe, Irfanview\x1f\x44:/IrfanView/i_view32.exe editors_font=fontview\x1f\x43:/WINDOWS/system32/fontview.exe So I deleted that and started again. After rechoosing my image apps, the INI now has Code:
[open_with] editors_html=Ultraedit\x1f\x44:/Uedit/uedit32.exe editors_image=Photoshop\x1f\x44:/Photoshop/Photoshp.exe, Irfanview\x1f\x44:/IrfanView/i_view32.exe At least the format is fairly clear. I could paste in the old editors_font line and that worked. But still all options on r-click are grey when starting from the image pane. Meanwhile; for html files, I have an "open with" list from the file list, but no "open with" at all in the text pane. That seems inconsistent. Regarding fonts, while I can choose (in Windows) fontview.exe to open them and get a preview, there is nothing shown in the editing or preview pane when a font file is selected. I know nil about Qt, but there seem to be widgets to preview fonts. That would be useful, to show the file size and basic specs of the font as well as some glyphs. Last edited by AlanHK; 09-15-2019 at 10:13 PM. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
This is a known bug that was already fixed in the latest release. The only workaround is to right-click in Book Browser on the image file and not right click on the image tab itself.
|
![]() |
![]() |
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
|
![]() |
![]() |
![]() |
#4 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,353
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Can a font previewer be created as a plugin?? I think that would be a useful feature.
|
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Setting up a font preview dialog is not something of general value. It would just lead to feature creep. For Fonts as you said, you can simply open the font file in a font showing app if you want a preview. How many different font families are you using that you can not remember what that font family looks like? If the fonts are already in use, then using Preview and the Inspector would also be a way to see what font is being used and what it looks like.
And a plugin that loads each font and generates a sample would not be hard to develop. So I will leave this for plugin developers to look at. That said ... You do know you can set an "open with" for Fonts in Sigil. For example, on my Mac, I specified that Fonts can use Open With with Font Book.app which nicely shows a Preview. Last edited by KevinH; 09-16-2019 at 09:19 AM. |
![]() |
![]() |
![]() |
#6 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
90% of the time it turns out to be Times Roman, Bookerly or the like that I can just delete and replace with "serif" in the CSS. Quote:
If I have 5 fonts, that is a lot of clicking and opening and closing external apps to see them all, while the edit and preview panes in Sigil remain inert. Same would hold for any plugin, unless it can actually use the main panes, which I've never seen a plugin do. Would love it that were possible. HTML shows text and preview SVG shows the text, but not a preview. CSS, OPF, NCX, show the text contents, JPEG, GIF, PNG shows the image and its specs. TTF, OTF, show nothing at all about the files. Not even the file size or the name of the font contained. So showing a font preview would be quite consistent. Last edited by AlanHK; 09-17-2019 at 01:16 AM. |
||
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,764
Karma: 6000000
Join Date: Nov 2009
Device: many
|
So a single right click on a font to open with a font previewer and a single click on the previewer to close is really too much?
Again, if someone would like to implement your "improvements" and supply us with a github pull request, we would probably include it if it actually worked. That said, using open with is hardly a burden. |
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 839
Karma: 2657572
Join Date: Jan 2017
Location: Poland
Device: Various
|
Maybe at the moment a small plugin is enough if you just want to check the basic font data (name and style). There will be only one click (or select from menu Plugins) and running the plugin.
This can be better than Open With because the plugin informs about all the fonts in the file. No preview – just file name, font family name and style. This is a very simple version of the plugin, but it probably does exactly what you need for files named 0001.ttf or other files that are not real font names. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmail test fails except when "Access for less secure apps" enabled | jbuller | Devices | 9 | 09-27-2017 05:47 AM |
6 Free "Getaway Essentials" Apps at Amazon today | Manabi | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 01-31-2014 07:49 PM |
Alter Double-click behaviour to "edit metadata" instead of "open ebook?" | Feather_Qwill | Library Management | 5 | 09-15-2013 11:20 AM |
How to remove "Fully read" books from "Last Open" list? | pjeanetta | PocketBook | 4 | 12-08-2010 10:30 AM |