Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-17Cleanup: spellingCampbell Barton
2021-02-14Cleanup: spellingCampbell Barton
2020-12-15Fix (studio-reported) broken handling of relative font paths.Bastien Montagne
`blf_dir_search` BLF util would not properly handle relative fonts not found in pre-defined 'system fonts' directoriesi stored in `global_font_dir` global variable. Now it rebases relative paths to current .blend file location as expected. Note: the fact that VSE is setting font ptaths relative by default is probably not actually desired, but this is another issue really. See `BKE_sequencer_text_font_load` code.
2020-09-09Cleanup: reduce variable scopeJacques Lucke
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-04-22Cleanup: style, use braces for blenfontCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2018-10-17Cleanup: remove some #if 0 blocksJacques Lucke
Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D3802
2018-06-08Cleanup: trailing spaceCampbell Barton
Remove from blender/nodes, collada, blenfont & render.
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-01-19Docs: doxygen file descriptions for BLF, GPU and WMCampbell Barton
2013-11-24Fix: Wrong variable used to check for metrics files on BLFDiego Hernan Borghetti
Looks like this is has been there since the initial commit of BLF. The blf_dir_metrics_search was using the pointer to the extension of the file and not the full path to check for metrics files (.afm/.pfm). Never notice before probably because is not common to use a font with additional metrics files.
2013-06-28Fix #35884: crash opening .blend with generated color grid image and preview ↵Brecht Van Lommel
render. Printing text on the color grid image would initialize font glyphs from a thread at the same time as the UI, causing conflicts. The freetype glyph renderer needs to be mutex locked because it uses a shared buffer internally even when rendering for different fonts. Also needed to change the image generate function to use the render monospace font to avoid conflicts in blenfont. What's still weak in the blenfont API is that there is no distinction between a font and a thread using that font to render with some particular size, style, etc.
2013-03-05patch [#34103]Campbell Barton
from Lawrence D'Oliveiro (ldo) More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places - storage.c: make some variables only used in bli_builddir local to that - storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor - path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well - path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error - blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before)
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-08-21code cleanup: includes and correction for macroCampbell Barton
2012-05-11style cleanup: whitespaceCampbell Barton
2012-03-12Style cleanup in blenfont (spaces, C++ comments, etc.).Bastien Montagne
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Code cleanup: remove BLI_exist, now there is only BLI_exists. One function justBrecht Van Lommel
called the other, they did the same thing.
2011-09-19Blenfont: fix use incorrect clear of ascii glyph cache, leading to crashBrecht Van Lommel
when toggling use antialising user preference. Also fix some other use of uninitialized memory found by valgrind.
2011-09-18replace strnlen with BLI_strnlen & some style changes.Campbell Barton
2011-09-18blf - further shrink drawing functions & some style changes.Campbell Barton
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-02-27doxygen: blender/blenfont tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-16doc generation support for excluding some modules, without this a full ↵Campbell Barton
rebuild takes too long to test changes. also include own function definitions for blf_dir.c.
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2010-11-11fix for building, also use const char in more places.Campbell Barton
2010-03-21remove includes that arnt neededCampbell Barton
2010-02-12correct fsf addressCampbell Barton
2009-09-14use static functions where possible for some local functions.Campbell Barton
2009-08-152.5: warning fixesBrecht Van Lommel
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
2009-05-09Add support for attach a file with metrics information to the font.Diego Borghetti
Fonts like Type 1, have one file with the glyph image and another file with metrics and kerning information, this try to search if the font have this information and load (try open the same file but with the .afm and .pfm extension). Also add a function to load the same information from memory, just in case that in some point we add a font like this.
2009-05-06Big, big commit!!Diego Borghetti
1) Remove WITH_FREETYPE2 from code, so now blender always need freetype2 2) Remove the old bmfont 3) Remove ftfont and bFTGL library 4) Implement a new BLF_draw_default function for place that still need/use the old BMF api. I try to update both, scons and cmake, but I only can test with make, so hope all work fine. MSVC is broken, but I don't have Windows, things to search and fix are any reference to WITH_FREETYPE2, FTGL and BMFONT (take in care that blenkernel also have a BKE_bmfont.h, this don't have anything to do with bmfont). Always have to link/include the freetype2 library Remove any reference to libbmfont Remove any reference to libftfont Remove any reference to libbftgl (or libbFTGL)
2009-02-17Making the things compiled!!Diego Borghetti
I change the #if 0 with #if WITH_FREETYPE2, also fix a lot of typos, etc. This is the basic but now it draw text!!, I am using the "User Preference" space to test the library, nobody is working on that and the option are in the outliner now so... TODO-next: using the 4x4 mat, string size, bounding box, aspect and rotate. Notes: I update the Makefile, missing some include and other things so maybe scons, cmake and msvc also need update ?
2009-02-11commit to continue in my home.Diego Borghetti
Also I remove some of the #if 0.
2009-02-09Just commit so I can continue tomorrow from work.Diego Borghetti
All the code have #if 0 / #endif so nothing to worry about.