1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 08:44:11 +08:00
Commit Graph

18 Commits

Author SHA1 Message Date
Alexander Smorkalov
4b7de5ae4e Merge branch 4.x 2024-01-18 17:50:32 +03:00
Kumataro
9b32dd97e4 fix for review 2023-11-16 20:43:47 +09:00
Alexander Smorkalov
9e71621db8 Regression test for the new Freetype method. 2023-11-01 14:19:24 +03:00
razaq
b2bb3d6eef add function to load font from buffer 2023-10-30 17:24:30 +01:00
Maksim Shabunin
ab8f50a9a4 Cleanup C-API usage (imgproc, highgui) 2022-11-10 23:29:16 +03:00
Kumataro
3951e0338a Merge pull request #3288 from Kumataro:4.x-issue_contrib3276
freetype: support 8UC1/8UC4 image

* freetype: add parameter test

* freetype: support CV_8UC3 and CV_8C4

* freetype:fix for gcc5.4

* freetype: delete newline

* freetype:fix for python binding

* freetype: Revert 3rd argument type of loadFontData() to use int.

- Revert 3rd argument type of loadFontData() to use "int".
- Use cvtest::debugLevel instead to OUTPUT_FILE define.
- Change type of idx_range list and ctol_range list to use "int".
- fix typo.
2022-06-25 18:39:02 +03:00
Kumataro
878f5d9709 freetype: fix call sequence for Harfbuzz
Fix #3078
2021-10-18 21:02:33 +09:00
Kumataro
9b5a801148 Merge pull request #2776 from Kumataro:master_freetype2_doc
freetype2: Fix comments in freetype.hpp and README.md

* freetype2: Update README.md

* freetype2: Update freetype.hpp

* freetype2: remove new blank line

* Update README.md

- Remove dots from the Headers
- Align number of === / --- symbols on the next line

* freetype: remove comment for color.
2020-12-07 20:37:50 +00:00
Kumataro
0a229756b9 freetype2: Fix 'A function call in freetype.cpp causes overflow'
* Use FreeType coordinate in drawing/getting textsize.
* Add comment to help understanding coordinates.
2020-09-26 18:52:44 +09:00
Alexander Alekhin
fa4ef14cd6 cmake: use ocv_check_modules() 2019-04-15 22:11:44 +00:00
Alexander Alekhin
25c68d51a4 freetype: apply CV_OVERRIDE/CV_FINAL 2018-03-28 16:49:59 +03:00
Alexander Alekhin
ad740ddfdf freetype: disable for Apple frameworks 2017-02-21 19:19:11 +03:00
Alexander Alekhin
944d40a1b5 cmake: freetype external dependencies via ocv_target_link_libraries 2017-01-25 13:21:03 +03:00
Maksim Shabunin
bef177c718 Minor documentation fixes:
- dpm, freetype: fixed documentation blocks
- datasets: removed tinyXml from public interface and documentation
2017-01-17 16:33:46 +03:00
Kumataro
04ad07c0dc Merge pull request #936 from Kumataro:freetype2.927
* Support getTextSize() to resolve issue #927

This getTextSize() funtion helps to print more text,
either on the same line or on another line.
To add getTextSize() function, some member variables are removed
which are corresponding at putText() function's arguments.
And a negative fontHeight must be asserted.

* Fix to remove whitespace
2017-01-11 18:09:08 +03:00
Kumataro
abf44fcccf Fix Opencv3.2 freetype module build failed in macOS10.12 #919 2016-12-29 14:49:25 +09:00
Alexander Alekhin
af729bcf20 build(freetype): move 3rdparty include files from precomp.hpp 2016-12-18 18:56:45 +03:00
Kumataro
cac3c9a221 Merge pull request #893 from Kumataro:freetype2
* Support freetype2

* Before call pkg_search_module() check it is available.

* If using libraries are unavailable, this module is shown in unavailable list.

* using ocv_define_modules() insted of target_link_libraries().

* Fix inner indentation in C++ namespaces

* Remove mImg from freetype2 and Create UserData class to refer in path drawing callbacks.

* to split interface and implementation details.
( and to avoid 3rd headers in public headers)

* PKG_CONFIG_FOUND is used instead of COMMAND okg_search_modules

* Update Document using Doxygen

* Add ocv_module_include_directories()

* Do no put pixels over image boundaries.

* Fix SIGSEGV (only valgrind) and missing text in top border line

* Fix trailing whitespace.

* Use Header File Macros

* Fix CMP0023 warning in cmake

* std::string to cv::String

* Fix trailing whitespace

* Change splitnumber from unsigned int to int to support python

* ocv_include_directories() should be define before ocv_define_module()

* Fix boundary problem in putTextBitmapBlend()

* Fix to draw an outline glyph which are on the boundary of image.

* Remove precomp.cpp

* Fix CMakeLists.txt to right order.

* Remove prototype definition of removed function.

* Add CV_Assert() where FreeType and Harfbuzz are called

* Add CV_Assert() to check InputOutputArray and line_type
2016-12-16 12:54:06 +02:00