History log of /haiku/src/preferences/appearance/FontSelectionView.cpp
Revision Date Author Comments
# 86da0385 09-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

Appearance: Use a dynamic instead of fixed size for the text preview area.

Fixes #17872.


# f515b1c0 10-Dec-2021 John Scipione <jscipione@gmail.com>

Appearance: Set a fixed preview text width and wrap

Larger font sizes and translations make the window too wide, grow
window vertically instead by wrapping.

Change-Id: I5850374f0fc917176927010d8e50b44033d366b1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5501
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 2d0c3dd6 17-Nov-2018 Mikael Konradsson <mikael.konradsson@outlook.com>

Appearance: Added BSpinners for setting font sizes.

Change-Id: Ic8036e512cda3e30b653092fa718b03e1b042ecc
Reviewed-on: https://review.haiku-os.org/710
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>


# 06b10d86 14-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

Appearance: Reinstate changes to allow full-and-half-fixed fonts as fixed.

This reverts commit 033f3450e3766e566e7e881b6cfe98d8024f4518.

The discussion on the mailing list has tended towards changing the BFont API
so that these kind of fonts return true for IsFixed() as well as IsFullAndHalfFixed
if only to avoid the API ugliness of be_fixed_font->IsFixed() returning
false.

But since that change should not really affect applications, as BeOS ones will
probably not support CJK characters at all and Haiku ones should work properly,
and the present state of affairs has been pretty annoying to CJK users, we can
at least allow users to select full-and-half-fixed fonts as their default
fixed font, and begin dealing with whatever bugs that may cause now.


# 033f3450 02-Aug-2018 Jérôme Duval <jerome.duval@gmail.com>

Revert "Appearance: fix "Fixed font" menu after the change to "Noto Sans Mono"."

This reverts commit aa3c64e46da6a3113e9d0da7d1e63a8470291815.

Reason: the previous change is to be reverted.


# aa3c64e4 02-Aug-2018 Jérôme Duval <jerome.duval@gmail.com>

Appearance: fix "Fixed font" menu after the change to "Noto Sans Mono".


# f74aab0a 09-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

Appearance: Added font sizes 19, and 20 to the set.

* We might want to find a better solution for this, and also use it
for the Terminal then.


# cf302a38 18-Oct-2014 Michael Lotz <mmlr@mlotz.ch>

Appearance: Increase max font size to 24 and add 16 to the list.

The list went up to 24 already, but was capped by the previous max size
of 18. Adding 16 to the arbitrary list of font sizes closes the rather
large gap between font sizes 14 and 18 that were already in the list.
Providing a slider or text field for the font size would probably be
better in the long run.


# e473d011 30-May-2013 John Scipione <jscipione@gmail.com>

Return the insets to be equal on all sides


# 80e5b062 30-May-2013 John Scipione <jscipione@gmail.com>

Appearance: Use font relative spacing insets for the preview boxes

Set the top inset to 0 since BBox's now have a natural top offset.


# 5084d0d4 10-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Added more things to x86_64 image.

Some preference apps, mount_server and AboutSystem. Removed the check
for x86_64 in the boot script, the normal path through the script will
work now. Also removed a temporary hack to workaround AboutSystem not
being there in build_haiku_image.


# 546208a5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 9ed32a43 26-Feb-2012 Stephan Aßmus <superstippi@gmx.de>

Embedded the Font into the Appearance Preflet

* Copied the essential parts from the Font preflet into the Appearance
preflet folder.
* Adopted these files to better direct where BMessage arrive and why.
The Font preflet just forwarded them from the BWindow handler,
which was quite messy.
* Embedded the Font preferences as another tab. The first one actually,
with the Decor settings also moved in front of the Anti-Aliasing tab.
* Refactored the Defaults and Revert button updates in the window code.
* AInclude all active settings tabs in the Defaults and Revert handling
for consistency. But eventually, the buttons should only affect the
currently visible page.


# f74aab0a2e68482de6d4e2ee42e98baad349dca7 09-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

Appearance: Added font sizes 19, and 20 to the set.

* We might want to find a better solution for this, and also use it
for the Terminal then.


# cf302a386145a7e7d7cdc8d8fa87ddbd03ab3924 18-Oct-2014 Michael Lotz <mmlr@mlotz.ch>

Appearance: Increase max font size to 24 and add 16 to the list.

The list went up to 24 already, but was capped by the previous max size
of 18. Adding 16 to the arbitrary list of font sizes closes the rather
large gap between font sizes 14 and 18 that were already in the list.
Providing a slider or text field for the font size would probably be
better in the long run.


# e473d011dd5eaef32c56bac56ea23450cd7f9aca 30-May-2013 John Scipione <jscipione@gmail.com>

Return the insets to be equal on all sides


# 80e5b062feac90cc1769ef4ec3cb063702a15052 30-May-2013 John Scipione <jscipione@gmail.com>

Appearance: Use font relative spacing insets for the preview boxes

Set the top inset to 0 since BBox's now have a natural top offset.


# 5084d0d451501f3c026d593dc109cbb76d7688fc 10-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Added more things to x86_64 image.

Some preference apps, mount_server and AboutSystem. Removed the check
for x86_64 in the boot script, the normal path through the script will
work now. Also removed a temporary hack to workaround AboutSystem not
being there in build_haiku_image.


# 546208a53940a26c6379c48a7854ade1a8250fc5 16-Apr-2012 Oliver Tappe <zooey@hirschkaefer.de>

More catalog-related cleanup.

* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and
B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO
* adjust all uses of both macros in Haiku's source tree
* use correct header guard for collecting/Catalog.h

The renamed macros require adjustments to all external applications
using catalogs.


# 9ed32a430ccf673f99beffe3bdc7b1f5478b5a81 26-Feb-2012 Stephan Aßmus <superstippi@gmx.de>

Embedded the Font into the Appearance Preflet

* Copied the essential parts from the Font preflet into the Appearance
preflet folder.
* Adopted these files to better direct where BMessage arrive and why.
The Font preflet just forwarded them from the BWindow handler,
which was quite messy.
* Embedded the Font preferences as another tab. The first one actually,
with the Decor settings also moved in front of the Anti-Aliasing tab.
* Refactored the Defaults and Revert button updates in the window code.
* AInclude all active settings tabs in the Defaults and Revert handling
for consistency. But eventually, the buttons should only affect the
currently visible page.