Skip to content

Commit

Permalink
Assembly v 3.4.7 (6.04.24)
Browse files Browse the repository at this point in the history
  • Loading branch information
adslbarxatov committed Apr 6, 2024
1 parent 9105a30 commit 59acf93
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Константы, используемые далее по тексту
env:
PROJ: ${{ github.event.repository.name }}
TAG: '3.4.6'
TAG: '3.4.7'

steps:
# Проверка состава репозитория (без анализа, как может показаться)
Expand Down
Binary file added .release/FontFinder.exe
Binary file not shown.
15 changes: 15 additions & 0 deletions .release/FontFinder_en_us.dph
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
This tool allows you to find the name / family of a font by its image. You only need to provide a sample font in the picture (high contrast, target letters only) and specify the text in the picture. The application allows you to set font search parameters and a break condition (match percentage). Finally, you can manage fonts that will be skipped during the search.

Warning! The tool only works with fonts installed on your operating system.

1. It is recommended to use contrast pictures with dark text and bright background without other elements).Text must be flat (without trajectories). Cropped image will be shown in the field below the image selection button.

2. It is necessary to specify the text from the picture (it’s case sensitive). This version of application allows non-empty text strings no longer than 50 characters.

3. In some cases the font parameters may significantly change results of search. Specify them if you haven’t received needed results.

4. You can use the stop factor if you want to pause search when you get the specified percentage of similarity (between 50 and 99). The “Search” button starts fonts matching with the sample image.

5. After search complete you’ll get a list of most matching fonts (not more than 100). By clicking you can see the specified text in selected font and style. Search may be too long. Use “Cancel” button to finish it immediately and view current results.

6. Application will add fonts that give the same comparison results to skipping list. It will increase the search speed. You can change it manually if needed or turn off using the corresponding flag
15 changes: 15 additions & 0 deletions .release/FontFinder_ru_ru.dph
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Этот инструмент позволяет найти название/семейство шрифта по его изображению. Вам нужно только предоставить образец шрифта на картинке (высококонтрастный, только целевые буквы) и указать текст на картинке. Приложение позволяет задать параметры поиска шрифта и условие прерывания (процент совпадения). Наконец, Вы можете управлять шрифтами, которые будут пропускаться во время поиска.

Предупреждение! Инструмент работает только со шрифтами, установленными в вашей операционной системе.

1. Рекомендуется использование контрастных изображений, на которых тёмный текст расположен на светлом фоне, и кроме него ничего нет. Текст должен быть ровным (без траекторий). Обрезанное до границ текста изображение будет отображено в поле ниже кнопки выбора картинки.

2. Для подбора шрифта необходимо указать текст, изображённый на картинке, с учётом регистра. В данной версии программы текст не может быть длиннее 50 символов. Одновременно он не может отсутствовать.

3. В некоторых случаях параметры шрифта существенно влияют на его отображение. Укажите эти параметры, если поиск не даёт желаемых результатов.

4. Если вы хотите, чтобы поиск был прерван при обнаружении совпадения с некоторым порогом, можно установить соответствующий флажок. Порогом срабатывания этого правила служит число от 50 до 99 процентов. Нажатие кнопки «Поиск» запустит перебор шрифтов на предмет совпадения с тем, который использован в загруженном изображении.

5. По окончании поиска в списке будет отображено не более 100 наиболее подходящих шрифтов и степени их совпадения с оригиналом в процентах. Щелчок по любому результату позволяет отобразить заданный ранее текст с использованием выбранного шрифта и стиля. Поиск может занимать значительное время. Используйте кнопку «Отмена», чтобы остановить поиск и просмотреть уже имеющиеся результаты.

6. Приложение добавит шрифты, которые дают одинаковые результаты сравнения, в список пропуска. Это увеличит скорость поиска. При необходимости вы можете изменить его вручную или отключить, используя соответствующий флажок
8 changes: 3 additions & 5 deletions .release/Release.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
_Changes for v 3.4.6_:
_Changes for v 3.4.7_:
- Updated the HypeHelp links list;
- Update for XPUN has been applied;
- Fixed the alignment of some warnings;
- Removed some unreliable memory operations;
- Fixed some interface bugs;
- Added localized videoguides;
- App now resizes the original image by itself to fit the control window and increase the speed of search
- Removed some unreliable memory operations
4 changes: 2 additions & 2 deletions Changes.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Font finder: changes log

ToDo:
- Segment comparator
Version 3.4.7:
• Updated the HypeHelp links list

Version 3.4.6:
• Update for XPUN has been applied;
Expand Down
2 changes: 1 addition & 1 deletion src/FontFinderForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private void Search (object sender, DoWorkEventArgs e)
}

// Запрос на прерывание поиска
if (pauseSearch /*PauseSearch.Checked*/ && (res >= searchPauseFactor))
if (pauseSearch && (res >= searchPauseFactor))
{
PreviewForm prf = new PreviewForm (createdImage, slp.ExistentFonts[i].Name +
", " + resultStyle.ToString ());
Expand Down
10 changes: 0 additions & 10 deletions src/PreviewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,5 @@ private void FClose_Click (object sender, EventArgs e)
{
this.Close ();
}

/* Изменение размера формы
private void PreviewForm_Resize (object sender, EventArgs e)
{
FClose.Top = this.Height - 62;
FClose.Left = (this.Width - FClose.Width) / 2;
ViewBox.Width = this.Width - 30;
ViewBox.Height = this.Height - 80;
}*/
}
}

0 comments on commit 59acf93

Please sign in to comment.