CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.28k stars 4.12k forks source link

Truetype font rendering is worse in d3d11 #55231

Closed Sammmmm closed 2 years ago

Sammmmm commented 2 years ago

Describe the bug

Font rendering is worse in d3d11

Edit: removed my screenshots because the screenshots do not display the issue, I wonder if this is windows specific or some other truetype nonsense. It might be out of your control. For me the discrepancy is visible on the initial menu screen. loading a game with each renderer and alt-tabbing between the two made it pretty obvious.

The only setting changed is the renderer

I've attached my fonts.json and options.json in repro steps

Steps to reproduce

{ "typeface": [ "data/font/Consolas Bold.ttf", "data/font/unifont.ttf" ], "map_typeface": [ "data/font/Consolas Bold.ttf", "data/font/unifont.ttf" ], "overmap_typeface": [ "data/font/whitrabt.ttf", "data/font/unifont.ttf" ] }

[ { "info": "Set a default character name that will be used instead of a random name on character creation.", "default": "Default: ", "name": "DEF_CHAR_NAME", "value": "" }, { "info": "Enable item auto pickup. Change pickup rules with the Auto Pickup Manager.", "default": "Default: False", "name": "AUTO_PICKUP", "value": "false" }, { "info": "If true, will enable to pickup items one tile around to the player. You can assign No Auto Pickup zones with the Zones Manager 'Y' key for e.g. your homebase.", "default": "Default: False", "name": "AUTO_PICKUP_ADJACENT", "value": "false" }, { "info": "Auto pickup items with weight less than or equal to [option] * 50 grams. You must also set the small items option. '0' disables this option", "default": "Default: 0 - Min: 0, Max: 20", "name": "AUTO_PICKUP_WEIGHT_LIMIT", "value": "0" }, { "info": "Auto pickup items with volume less than or equal to [option] * 50 milliliters. You must also set the light items option. '0' disables this option", "default": "Default: 0 - Min: 0, Max: 20", "name": "AUTO_PICKUP_VOL_LIMIT", "value": "0" }, { "info": "Auto pickup is disabled as long as you can see monsters nearby. This is affected by 'Safe Mode proximity distance'.", "default": "Default: False", "name": "AUTO_PICKUP_SAFEMODE", "value": "false" }, { "info": "If false, you will not see messages about items, you step on, within no auto pickup zones.", "default": "Default: True", "name": "NO_AUTO_PICKUP_ZONES_LIST_ITEMS", "value": "true" }, { "info": "If true, enables configured auto features below. Disabled as long as any enemy monster is seen.", "default": "Default: False", "name": "AUTO_FEATURES", "value": "false" }, { "info": "Action to perform when 'Auto pulp or butcher' is enabled. Pulp: Pulp corpses you stand on. - Pulp Adjacent: Also pulp corpses adjacent from you. - Butcher: Butcher corpses you stand on.", "default": "Default: off - Values: off, pulp, pulp_zombie_only, pulp_adjacent, pulp_adjacent_zombie_only, butcher", "name": "AUTO_PULP_BUTCHER", "value": "off" }, { "info": "If true, enables automatic use of wielded pickaxes and jackhammers whenever trying to move into mineable terrain.", "default": "Default: False", "name": "AUTO_MINING", "value": "false" }, { "info": "If true, enables automatic use of wielded mops to clean surrounding terrain.", "default": "Default: False", "name": "AUTO_MOPPING", "value": "false" }, { "info": "Action to perform when 'Auto foraging' is enabled. Bushes: Only forage bushes. - Trees: Only forage trees. - Crops: Only forage crops. - Everything: Forage bushes, trees, crops, and everything else including flowers, cattails etc.", "default": "Default: off - Values: off, bushes, trees, crops, all", "name": "AUTO_FORAGING", "value": "off" }, { "info": "If false, will cause player to drop new items that cause them to exceed the weight limit.", "default": "Default: False", "name": "DANGEROUS_PICKUPS", "value": "false" }, { "info": "Always: You will be prompted to move onto dangerous tiles. Running: You will only be able to move onto dangerous tiles while running and will be prompted. Crouching: You will only be able to move onto a dangerous tile while crouching and will be prompted. Never: You will not be able to move onto a dangerous tile unless running and will not be warned or prompted.", "default": "Default: ALWAYS - Values: ALWAYS, RUNNING, CROUCHING, NEVER", "name": "DANGEROUS_TERRAIN_WARNING_PROMPT", "value": "ALWAYS" }, { "info": "If true, will hold the game and display a warning if a hostile monster/npc is approaching.", "default": "Default: True", "name": "SAFEMODE", "value": "true" }, { "info": "If safe mode is enabled, distance to hostiles at which safe mode should show a warning. 0 = Max player view distance. This option only has effect when no safe mode rule is specified. Otherwise, edit the default rule in Safe Mode Manager instead of this value.", "default": "Default: 0 - Min: 0, Max: 60", "name": "SAFEMODEPROXIMITY", "value": "0" }, { "info": "When true, safe mode will alert you of hostiles while you are driving a vehicle.", "default": "Default: False", "name": "SAFEMODEVEH", "value": "false" }, { "info": "If true, safe mode will automatically reactivate after a certain number of turns. See option 'Turns to auto reactivate safe mode.'", "default": "Default: False", "name": "AUTOSAFEMODE", "value": "false" }, { "info": "Number of turns after which safe mode is reactivated. Will only reactivate if no hostiles are in 'Safe mode proximity distance.'", "default": "Default: 50 - Min: 1, Max: 600", "name": "AUTOSAFEMODETURNS", "value": "50" }, { "info": "Number of turns an ignored monster stays ignored after it is no longer seen. 0 disables this option and monsters are permanently ignored.", "default": "Default: 200 - Min: 0, Max: 3600", "name": "SAFEMODEIGNORETURNS", "value": "200" }, { "info": "If enabled, monsters will take periodic gameplay turns. This value is the delay between each turn, in seconds. Works best with Safe Mode disabled. 0 = disabled.", "default": "Default: 0.00 - Min: 0.00, Max: 10.00", "name": "TURN_DURATION", "value": "0.00" }, { "info": "If true, game will periodically save the map. Autosaves occur based on in-game turns or real-time minutes, whichever is larger.", "default": "Default: True", "name": "AUTOSAVE", "value": "true" }, { "info": "Number of game turns between autosaves", "default": "Default: 50 - Min: 10, Max: 1000", "name": "AUTOSAVE_TURNS", "value": "50" }, { "info": "Number of real time minutes between autosaves", "default": "Default: 5 - Min: 0, Max: 127", "name": "AUTOSAVE_MINUTES", "value": "5" }, { "info": "If true, automatically sets notes", "default": "Default: False", "name": "AUTO_NOTES", "value": "false" }, { "info": "If true, automatically sets notes on places that have stairs that go up or down", "default": "Default: False", "name": "AUTO_NOTES_STAIRS", "value": "false" }, { "info": "If true, automatically sets notes on places that contain various map extras", "default": "Default: False", "name": "AUTO_NOTES_MAP_EXTRAS", "value": "false" }, { "info": "If true, the game will calculate range in a realistic way: light sources will be circles, diagonal movement will cover more ground and take longer. If disabled, everything is square: moving to the northwest corner of a building takes as long as moving to the north wall.", "default": "Default: True", "name": "CIRCLEDIST", "value": "true" }, { "info": "Set to drop empty containers after use. No: Don't drop any. - Watertight: All except watertight containers. - All: Drop all containers.", "default": "Default: no - Values: no, watertight, all", "name": "DROP_EMPTY", "value": "no" }, { "info": "Always: Always start deathcam. Ask: Query upon death. Never: Never show deathcam.", "default": "Default: ask - Values: always, ask, never", "name": "DEATHCAM", "value": "never" }, { "info": "If enabled, unique items and/or monsters can spawn during special events (Christmas, Halloween, etc.)", "default": "Default: off - Values: off, items, monsters, both", "name": "EVENT_SPAWNS", "value": "off" }, { "info": "If true, music and sound are enabled.", "default": "Default: True", "name": "SOUND_ENABLED", "value": "true" }, { "info": "Choose the soundpack you want to use. Requires restart.", "default": "Default: basic - Values: 2ch soundpack#Viewing name of the soundpack, basic, CDDA-Soundpack, ChestHole, RRFSounds, @'s soundpack rff_music#Viewing name of the soundpack, @'s soundpack#Viewing name of the soundpack, @'s soundpack co.ag#Viewing name of the soundpack", "name": "SOUNDPACKS", "value": "@'s soundpack rff_music#Viewing name of the soundpack" }, { "info": "Adjust the volume of the music being played in the background.", "default": "Default: 100 - Min: 0, Max: 128", "name": "MUSIC_VOLUME", "value": "15" }, { "info": "Adjust the volume of sound effects being played by the game.", "default": "Default: 100 - Min: 0, Max: 128", "name": "SOUND_EFFECT_VOLUME", "value": "8" }, { "info": "Adjust the volume of ambient sounds being played by the game.", "default": "Default: 100 - Min: 0, Max: 128", "name": "AMBIENT_SOUND_VOLUME", "value": "17" }, { "info": "Switch Language.", "default": "Default: - Values: en, ar, cs, da, de, el, es_AR, es_ES, fr, hu, id, is, it_IT, ja, ko, nb, nl, pl, pt_BR, ru, sr, tr, uk_UA, zh_CN, zh_TW", "name": "USE_LANG", "value": "" }, { "info": "Switch between Celsius, Fahrenheit and Kelvin.", "default": "Default: fahrenheit - Values: fahrenheit, celsius, kelvin", "name": "USE_CELSIUS", "value": "fahrenheit" }, { "info": "Switch between mph, km/h and tiles/turn.", "default": "Default: mph - Values: mph, km/h, t/t", "name": "USE_METRIC_SPEEDS", "value": "mph" }, { "info": "Switch between kg and lbs.", "default": "Default: lbs - Values: lbs, kg", "name": "USE_METRIC_WEIGHTS", "value": "lbs" }, { "info": "Switch between the Cup ( c ), Liter ( L ) or Quart ( qt ).", "default": "Default: l - Values: c, l, qt", "name": "VOLUME_UNITS", "value": "l" }, { "info": "Metric or Imperial", "default": "Default: imperial - Values: metric, imperial", "name": "DISTANCE_UNITS", "value": "imperial" }, { "info": "12h: AM/PM, e.g. 7:31 AM - Military: 24h Military, e.g. 0731 - 24h: Normal 24h, e.g. 7:31", "default": "Default: 12h - Values: 12h, military, 24h", "name": "24_HOUR", "value": "12h" }, { "info": "Show brand names for guns, instead of generic functional names - 'm4a1' or 'h&k416a5' instead of 'NATO assault rifle'.", "default": "Default: False", "name": "SHOW_GUN_VARIANTS", "value": "false" }, { "info": "If true, the default ammo is added to weapon and magazine names. For example \"Mosin-Nagant M44 (4/5)\" becomes \"Mosin-Nagant M44 (4/5 7.62x54mm)\".", "default": "Default: True", "name": "AMMO_IN_NAMES", "value": "true" }, { "info": "All: every container has detailed remaining volume info - Worn: only worn containers have detailed remaining volume info - None: no additional info is provided", "default": "Default: WORN - Values: ALL, WORN, NONE", "name": "DETAILED_CONTAINERS", "value": "WORN" }, { "info": "Use key code or symbol input on SDL. Symbol is recommended for non-qwerty layouts since currently the default keybindings for key code mode only supports qwerty. Key code is currently WIP and bypasses IMEs, caps lock, and num lock.", "default": "Default: keychar - Values: keychar, keycode", "name": "SDL_KEYBOARD_MODE", "value": "keychar" }, { "info": "If true, prompts such as Y/N queries only accepts capital or modified letters, while lower case and unmodified letters only snap the cursor to the corresponding option.", "default": "Default: True", "name": "FORCE_CAPITAL_YN", "value": "true" }, { "info": "If true, automatically follow the crosshair when firing/throwing.", "default": "Default: False", "name": "SNAP_TO_TARGET", "value": "false" }, { "info": "If true, will query before disassembling items while butchering.", "default": "Default: True", "name": "QUERY_DISASSEMBLE", "value": "true" }, { "info": "If true, will query before removing a keybinding from a hotkey.", "default": "Default: True", "name": "QUERY_KEYBIND_REMOVAL", "value": "true" }, { "info": "If true, will close the advanced inventory when the move all items command is used.", "default": "Default: False", "name": "CLOSE_ADV_INV", "value": "false" }, { "info": "Open default advanced inventory layout instead of last opened layout", "default": "Default: False", "name": "OPEN_DEFAULT_ADV_INV", "value": "false" }, { "info": "If true, actions ( like \"Read\", \"Smoke\", \"Wrap tighter\" ) will be displayed next to the corresponding items.", "default": "Default: True", "name": "INV_USE_ACTION_NAMES", "value": "true" }, { "info": "If true, directional actions ( like \"Examine\", \"Open\", \"Pickup\" ) will autoselect an adjacent tile if there is exactly one valid target.", "default": "Default: True", "name": "AUTOSELECT_SINGLE_VALID_TARGET", "value": "true" }, { "info": "Highlight selected item's contents and parent container in inventory screen. \"Symbol\" shows a highlighted caret and \"Highlight\" uses font highlighting.", "default": "Default: symbol - Values: symbol, highlight, disable", "name": "INVENTORY_HIGHLIGHT", "value": "symbol" }, { "info": "Highlight unread recipes to allow tracking of newly learned recipes.", "default": "Default: True", "name": "HIGHLIGHT_UNREAD_RECIPES", "value": "true" }, { "info": "Allows diagonal movement with cursor keys using CTRL and SHIFT modifiers. Diagonal movement action keys are taken from keybindings, so you need these to be configured.", "default": "Default: none - Values: none, mode1, mode2, mode3, mode4", "name": "DIAG_MOVE_WITH_MODIFIERS_MODE", "value": "none" }, { "info": "If true, vehicle parts will change color if they are armor plated", "default": "Default: True", "name": "VEHICLE_ARMOR_COLOR", "value": "true" }, { "info": "If true, view will automatically shift towards the driving direction", "default": "Default: True", "name": "DRIVING_VIEW_OFFSET", "value": "true" }, { "info": "If true, when controlling a vehicle, a white 'X' ( in curses version ) or a crosshair ( in tiles version ) at distance 10 from the center will display its current facing.", "default": "Default: True", "name": "VEHICLE_DIR_INDICATOR", "value": "true" }, { "info": "If true, when driving a vehicle in reverse, steering should also reverse like real life.", "default": "Default: False", "name": "REVERSE_STEERING", "value": "false" }, { "info": "Switch between sidebar on the left or on the right side. Requires restart.", "default": "Default: right - Values: left, right", "name": "SIDEBAR_POSITION", "value": "right" }, { "info": "If true, adds an extra space between sidebar panels.", "default": "Default: False", "name": "SIDEBAR_SPACERS", "value": "false" }, { "info": "Where new log messages should show.", "default": "Default: new_bottom - Values: new_top, new_bottom", "name": "LOG_FLOW", "value": "new_bottom" }, { "info": "Number of turns after which a message will be removed from the sidebar log. '0' disables this option.", "default": "Default: 0 - Min: 0, Max: 1000", "name": "MESSAGE_TTL", "value": "0" }, { "info": "Number of turns during which similar messages are hidden. '0' disables this option.", "default": "Default: 0 - Min: 0, Max: 1000", "name": "MESSAGE_COOLDOWN", "value": "0" }, { "info": "Number of messages to preserve in the history, and when saving.", "default": "Default: 255 - Min: 1, Max: 10000", "name": "MESSAGE_LIMIT", "value": "255" }, { "info": "If true, pressing a key with no set function will not display a notice in the chat log.", "default": "Default: False", "name": "NO_UNKNOWN_COMMAND_MSG", "value": "false" }, { "info": "Whether to trigger a popup window when completing an achievement. First: when completing an achievement that has not been completed in a previous game.", "default": "Default: first - Values: never, always, first", "name": "ACHIEVEMENT_COMPLETED_POPUP", "value": "first" }, { "info": "Switch between look around panel being left or right.", "default": "Default: right - Values: left, right", "name": "LOOKAROUND_POSITION", "value": "right" }, { "info": "How should confidence and steadiness be communicated to the player.", "default": "Default: bars - Values: numbers, bars", "name": "ACCURACY_DISPLAY", "value": "bars" }, { "info": "Morale display style in sidebar.", "default": "Default: vertical - Values: vertical, horizontal", "name": "MORALE_STYLE", "value": "vertical" }, { "info": "If true, Advanced Inventory Manager menu will fit full screen, otherwise it will leave sidebar visible.", "default": "Default: False", "name": "AIM_WIDTH", "value": "false" }, { "info": "Move view by how many squares per keypress.", "default": "Default: 1 - Min: 1, Max: 50", "name": "MOVE_VIEW_OFFSET", "value": "1" }, { "info": "With Fast Scroll option enabled, shift view on the overmap and while looking around by this many squares per keypress.", "default": "Default: 5 - Min: 1, Max: 50", "name": "FAST_SCROLL_OFFSET", "value": "5" }, { "info": "If true, menus will start scrolling in the center of the list, and keep the list centered.", "default": "Default: True", "name": "MENU_SCROLL", "value": "true" }, { "info": "Centered or to edge, shift the view toward the selected item if it is outside of your current viewport.", "default": "Default: centered - Values: false, centered, edge", "name": "SHIFT_LIST_ITEM_VIEW", "value": "centered" }, { "info": "Enabled: automatically assign letters to any carried items that lack them. Disabled: do not auto-assign letters. Favorites: only auto-assign letters to favorited items.", "default": "Default: favorites - Values: disabled, enabled, favorites", "name": "AUTO_INV_ASSIGN", "value": "disabled" }, { "info": "If true, show item health bars instead of reinforced, scratched etc. text.", "default": "Default: True", "name": "ITEM_HEALTH_BAR", "value": "true" }, { "info": "If true, show item symbols in inventory and pick up menu.", "default": "Default: False", "name": "ITEM_SYMBOLS", "value": "false" }, { "info": "Enable input from joystick.", "default": "Default: True", "name": "ENABLE_JOYSTICK", "value": "true" }, { "info": "Show: Cursor is always shown. Hide: Cursor is hidden. HideKB: Cursor is hidden on keyboard input and unhidden on mouse movement.", "default": "Default: show - Values: show, hide, hidekb", "name": "HIDE_CURSOR", "value": "show" }, { "info": "Edge scrolling with the mouse.", "default": "Default: Normal", "name": "EDGE_SCROLL", "value": "-1" }, { "info": "If true, will display enabled animations.", "default": "Default: True", "name": "ANIMATIONS", "value": "true" }, { "info": "If true, will display weather animations.", "default": "Default: True", "name": "ANIMATION_RAIN", "value": "true" }, { "info": "If true, will display animations for projectiles like bullets, arrows, and thrown items.", "default": "Default: True", "name": "ANIMATION_PROJECTILES", "value": "true" }, { "info": "If true, will display scrolling combat text animations.", "default": "Default: True", "name": "ANIMATION_SCT", "value": "true" }, { "info": "If true, will display scrolling combat text with Unicode font.", "default": "Default: True", "name": "ANIMATION_SCT_USE_FONT", "value": "true" }, { "info": "The amount of time to pause between animation frames in ms.", "default": "Default: 10 - Min: 0, Max: 100", "name": "ANIMATION_DELAY", "value": "10" }, { "info": "If true, forces the game to redraw at least once per turn.", "default": "Default: True", "name": "FORCE_REDRAW", "value": "true" }, { "info": "If true, the title screen will use the art appropriate for the season.", "default": "Default: True", "name": "SEASONAL_TITLE", "value": "true" }, { "info": "Set the probability of the alternate title screen appearing.", "default": "Default: 10 - Min: 0, Max: 100", "name": "ALT_TITLE", "value": "10" }, { "info": "Set the size of the terminal along the X axis.", "default": "Default: 80 - Min: 80, Max: 960", "name": "TERMINAL_X", "value": "204" }, { "info": "Set the size of the terminal along the Y axis.", "default": "Default: 24 - Min: 24, Max: 270", "name": "TERMINAL_Y", "value": "57" }, { "info": "If true, fonts will look better.", "default": "Default: False", "name": "FONT_BLENDING", "value": "true" }, { "info": "Set the font width. Requires restart.", "default": "Default: 8 - Min: 8, Max: 100", "name": "FONT_WIDTH", "value": "10" }, { "info": "Set the font height. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "FONT_HEIGHT", "value": "20" }, { "info": "Set the font size. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "FONT_SIZE", "value": "16" }, { "info": "Set the map font width. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "MAP_FONT_WIDTH", "value": "16" }, { "info": "Set the map font height. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "MAP_FONT_HEIGHT", "value": "16" }, { "info": "Set the map font size. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "MAP_FONT_SIZE", "value": "16" }, { "info": "Set the overmap font width. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "OVERMAP_FONT_WIDTH", "value": "16" }, { "info": "Set the overmap font height. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "OVERMAP_FONT_HEIGHT", "value": "16" }, { "info": "Set the overmap font size. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "OVERMAP_FONT_SIZE", "value": "16" }, { "info": "Use SDL ASCII line drawing routine instead of Unicode Line Drawing characters. Use this option when your selected font doesn't contain necessary glyphs.", "default": "Default: True", "name": "USE_DRAW_ASCII_LINES_ROUTINE", "value": "true" }, { "info": "When available item and monster description will show a picture of the object in ascii art.", "default": "Default: True", "name": "ENABLE_ASCII_ART", "value": "true" }, { "info": "If true, replaces some TTF rendered text with tiles.", "default": "Default: True", "name": "USE_TILES", "value": "true" }, { "info": "Choose the tileset you want to use.", "default": "Default: UltimateCataclysm - Values: ASCIITiles, Alternative Ultica, brownlikebears, ChestHole16, Chibi_Ultica, Cuteclysm(Alpha), HitButton_iso, hoder, Hollow Moon, UNDEAD_PEOPLE_BASE, UNDEAD_PEOPLE, MshockXottoplus, MshockRealXotto, neodays, retrodays+, retrodays, SurveyorsMap, UltimateCataclysm, UltimateCataclysmDemo", "name": "TILES", "value": "UNDEAD_PEOPLE_BASE" }, { "info": "If true, replaces some TTF-rendered text with tiles for overmap display.", "default": "Default: False", "name": "USE_TILES_OVERMAP", "value": "true" }, { "info": "Choose the overmap tileset you want to use.", "default": "Default: retrodays - Values: ASCIITiles, Alternative Ultica, brownlikebears, ChestHole16, Chibi_Ultica, Cuteclysm(Alpha), HitButton_iso, hoder, Hollow Moon, UNDEAD_PEOPLE_BASE, UNDEAD_PEOPLE, MshockXottoplus, MshockRealXotto, neodays, retrodays+, retrodays, SurveyorsMap, UltimateCataclysm, UltimateCataclysmDemo", "name": "OVERMAP_TILES", "value": "SurveyorsMap" }, { "info": "Toggle the color overlay from night vision goggles and other similar tools.", "default": "Default: True", "name": "NV_GREEN_TOGGLE", "value": "true" }, { "info": "Specified the overlay in which the memory map is drawn. Requires restart. For custom overlay define gamma and RGB values for dark and light colors.", "default": "Default: color_pixel_sepia_light - Values: color_pixel_darken, color_pixel_sepia_light, color_pixel_sepia_dark, color_pixel_blue_dark, color_pixel_custom", "name": "MEMORY_MAP_MODE", "value": "color_pixel_darken" }, { "info": "Specify RGB value for color RED for dark color overlay.", "default": "Default: 39 - Min: 0, Max: 255", "name": "MEMORY_RGB_DARK_RED", "value": "39" }, { "info": "Specify RGB value for color GREEN for dark color overlay.", "default": "Default: 23 - Min: 0, Max: 255", "name": "MEMORY_RGB_DARK_GREEN", "value": "23" }, { "info": "Specify RGB value for color BLUE for dark color overlay.", "default": "Default: 19 - Min: 0, Max: 255", "name": "MEMORY_RGB_DARK_BLUE", "value": "19" }, { "info": "Specify RGB value for color RED for bright color overlay.", "default": "Default: 241 - Min: 0, Max: 255", "name": "MEMORY_RGB_BRIGHT_RED", "value": "241" }, { "info": "Specify RGB value for color GREEN for bright color overlay.", "default": "Default: 220 - Min: 0, Max: 255", "name": "MEMORY_RGB_BRIGHT_GREEN", "value": "220" }, { "info": "Specify RGB value for color BLUE for bright color overlay.", "default": "Default: 163 - Min: 0, Max: 255", "name": "MEMORY_RGB_BRIGHT_BLUE", "value": "163" }, { "info": "Specify gamma value for overlay.", "default": "Default: 1.60 - Min: 1.00, Max: 3.00", "name": "MEMORY_GAMMA", "value": "1.60" }, { "info": "If true, shows the pixel-detail minimap in game after the save is loaded. Use the 'Toggle Pixel Minimap' action key to change its visibility during gameplay.", "default": "Default: True", "name": "PIXEL_MINIMAP", "value": "true" }, { "info": "Specified the mode in which the minimap drawn.", "default": "Default: dots - Values: solid, squares, dots", "name": "PIXEL_MINIMAP_MODE", "value": "squares" }, { "info": "Overall brightness of pixel-detail minimap.", "default": "Default: 100 - Min: 10, Max: 300", "name": "PIXEL_MINIMAP_BRIGHTNESS", "value": "100" }, { "info": "Height of pixel-detail minimap, measured in terminal rows. Set to 0 for default spacing.", "default": "Default: 0 - Min: 0, Max: 100", "name": "PIXEL_MINIMAP_HEIGHT", "value": "0" }, { "info": "Scale pixel minimap to fit its surroundings. May produce crappy results, especially in modes other than \"Solid\".", "default": "Default: False", "name": "PIXEL_MINIMAP_SCALE_TO_FIT", "value": "false" }, { "info": "Preserves the square shape of tiles shown on the pixel minimap.", "default": "Default: True", "name": "PIXEL_MINIMAP_RATIO", "value": "true" }, { "info": "Controls how big the creature beacons are. Value is in minimap tiles.", "default": "Default: 2 - Min: 1, Max: 4", "name": "PIXEL_MINIMAP_BEACON_SIZE", "value": "2" }, { "info": "Controls how fast the hostile creature beacons blink on the pixel minimap. Value is multiplied by 200 ms. Set to 0 to disable.", "default": "Default: 10 - Min: 0, Max: 50", "name": "PIXEL_MINIMAP_BLINK", "value": "10" }, { "info": "Sets which video display will be used to show the game. Requires restart.", "default": "Default: 0 - Values: 0, 1", "name": "DISPLAY", "value": "0" }, { "info": "Starts Cataclysm in one of the fullscreen modes. Requires restart.", "default": "Default: windowedbl - Values: no, maximized, fullscreen, windowedbl", "name": "FULLSCREEN", "value": "windowedbl" }, { "info": "Set which renderer to use. Requires restart.", "default": "Default: direct3d11 - Values: direct3d, direct3d11, opengl, opengles2, software", "name": "RENDERER", "value": "direct3d11" }, { "info": "Use render batching for 2D render API to make it more efficient. Requires restart.", "default": "Default: True", "name": "RENDER_BATCHING", "value": "true" }, { "info": "Use hardware acceleration for the framebuffer when using software rendering. Requires restart.", "default": "Default: False", "name": "FRAMEBUFFER_ACCEL", "value": "false" }, { "info": "If true, tries to use color modulated textures to speed-up ASCII drawing. Requires restart.", "default": "Default: False", "name": "USE_COLOR_MODULATED_TEXTURES", "value": "false" }, { "info": "Sets the scaling mode, 'none' ( default ) displays at the game's native resolution, 'nearest' uses low-quality but fast scaling, and 'linear' provides high-quality scaling.", "default": "Default: none - Values: none, nearest, linear", "name": "SCALING_MODE", "value": "none" }, { "info": "Factor by which to scale the display. Requires restart.", "default": "Default: 1 - Values: 1, 2, 4", "name": "SCALING_FACTOR", "value": "1" }, { "info": "Handling of game world when last character dies.", "default": "Default: reset - Values: reset, delete, query, keep", "name": "WORLD_END", "value": "query" }, { "info": "A number determining how large cities are. A higher number means larger cities. 0 disables cities, roads and any scenario requiring a city start.", "default": "Default: 8 - Min: 0, Max: 16", "name": "CITY_SIZE", "value": "8" }, { "info": "A number determining how far apart cities are. A higher number means cities are further apart. Warning, small numbers lead to very slow mapgen.", "default": "Default: 4 - Min: 0, Max: 8", "name": "CITY_SPACING", "value": "4" }, { "info": "A scaling factor that determines density of monster spawns. A higher number means more monsters.", "default": "Default: 1.00 - Min: 0.00, Max: 50.00", "name": "SPAWN_DENSITY", "value": "1.00" }, { "info": "A scaling factor that determines density of item spawns. A higher number means more items.", "default": "Default: 1.00 - Min: 0.01, Max: 10.00", "name": "ITEM_SPAWNRATE", "value": "1.00" }, { "info": "Baseline average number of days between random NPC spawns. Average duration goes up with the number of NPCs already spawned. A higher number means fewer NPCs. Set to 0 days to disable random NPCs.", "default": "Default: 4.00 - Min: 0.00, Max: 100.00", "name": "NPC_SPAWNTIME", "value": "4.00" }, { "info": "A scaling factor that determines the time between monster upgrades. A higher number means slower evolution. Set to 0.00 to turn off monster upgrades.", "default": "Default: 4.00 - Min: 0.00, Max: 100.00", "name": "MONSTER_UPGRADE_FACTOR", "value": "4.00" }, { "info": "Determines the movement rate of monsters. A higher value increases monster speed and a lower reduces it. Requires world reset.", "default": "Default: 100 - Min: 1, Max: 1000", "name": "MONSTER_SPEED", "value": "100%" }, { "info": "Determines how much damage monsters can take. A higher value makes monsters more resilient and a lower makes them more flimsy. Requires world reset.", "default": "Default: 100 - Min: 1, Max: 1000", "name": "MONSTER_RESILIENCE", "value": "100%" }, { "info": "( WIP feature ) Determines terrain, shops, plants, and more.", "default": "Default: default - Values: default", "name": "DEFAULT_REGION", "value": "default" }, { "info": "Initial starting time of day on character generation.", "default": "Default: 8 - Min: 0, Max: 23", "name": "INITIAL_TIME", "value": "8" }, { "info": "How many days into the year the Cataclysm ended. Day 0 is Spring 1. Day -1 randomizes the start date. Can be overridden by scenarios. This does not advance food rot or monster evolution.", "default": "Default: 60 - Min: -1, Max: 999", "name": "INITIAL_DAY", "value": "60" }, { "info": "How many days after the end of the Cataclysm the player spawns. Day 0 is immediately after the end of the Cataclysm. Can be overridden by scenarios. Increasing this will cause food rot and monster evolution to advance.", "default": "Default: 0 - Min: 0, Max: 9999", "name": "SPAWN_DELAY", "value": "0" }, { "info": "Season length, in days. Warning: Very little other than the duration of seasons scales with this value, so adjusting it may cause nonsensical results.", "default": "Default: 91 - Min: 14, Max: 127", "name": "SEASON_LENGTH", "value": "91" }, { "info": "Sets the time of construction in percents. '50' is two times faster than default, '200' is two times longer. '0' automatically scales construction time to match the world's season length.", "default": "Default: 100 - Min: 0, Max: 1000", "name": "CONSTRUCTION_SCALING", "value": "100" }, { "info": "Keep the initial season for ever.", "default": "Default: False", "name": "ETERNAL_SEASON", "value": "false" }, { "info": "Day/night cycle settings. 'Normal' sets a normal cycle. 'Eternal Day' sets eternal day. 'Eternal Night' sets eternal night.", "default": "Default: normal - Values: normal, day, night", "name": "ETERNAL_TIME_OF_DAY", "value": "normal" }, { "info": "Emulation of zombie hordes. Zombies can group together into hordes, which can wander around cities and will sometimes move towards noise. Note: the current implementation does not properly respect obstacles, so hordes can appear to walk through walls under some circumstances. Must reset world directory after changing for it to take effect.", "default": "Default: False", "name": "WANDER_SPAWNS", "value": "false" }, { "info": "If true, spawn zombies at shelters. Makes the starting game a lot harder.", "default": "Default: False", "name": "BLACK_ROAD", "value": "false" }, { "info": "If true, radiation causes the player to mutate.", "default": "Default: True", "name": "RAD_MUTATION", "value": "true" }, { "info": "Allowed point pools for character generation.", "default": "Default: any - Values: any, multi_pool, no_freeform", "name": "CHARACTER_POINT_POOLS", "value": "multi_pool" }, { "info": "Determines the scope, which is known in the beginning of the game.", "default": "Default: 15 - Min: 3, Max: 20", "name": "DISTANCE_INITIAL_VISIBILITY", "value": "15" }, { "info": "Initial points available to spend on stats on character generation.", "default": "Default: 6 - Min: 0, Max: 1000", "name": "INITIAL_STAT_POINTS", "value": "6" }, { "info": "Initial points available to spend on traits on character generation.", "default": "Default: 0 - Min: 0, Max: 1000", "name": "INITIAL_TRAIT_POINTS", "value": "0" }, { "info": "Initial points available to spend on skills on character generation.", "default": "Default: 2 - Min: 0, Max: 1000", "name": "INITIAL_SKILL_POINTS", "value": "2" }, { "info": "Maximum trait points available for character generation.", "default": "Default: 12 - Min: 0, Max: 1000", "name": "MAX_TRAIT_POINTS", "value": "12" }, { "info": "Scales experience gained from practicing skills and reading books. 0.5 is half as fast as default, 2.0 is twice as fast, 0.0 disables skill training except for NPC training.", "default": "Default: 1.00 - Min: 0.00, Max: 100.00", "name": "SKILL_TRAINING_SPEED", "value": "1.00" }, { "info": "Set the type of skill rust. Vanilla: Skill rust can decrease levels - Capped: Skill rust cannot decrease levels - Off: None at all.", "default": "Default: vanilla - Values: vanilla, capped, off", "name": "SKILL_RUST", "value": "off" }, { "info": "If false, vision is limited to current z-level. If true and the world is in z-level mode, the vision will extend beyond current z-level. Currently very bugged!", "default": "Default: False", "name": "FOV_3D", "value": "false" }, { "info": "How many levels up and down the experimental 3D field of vision reaches. (This many levels up, this many levels down.) 3D vision of the full height of the world can slow the game down a lot. Seeing fewer Z-levels is faster.", "default": "Default: 4 - Min: 0, Max: 21", "name": "FOV_3D_Z_RANGE", "value": "2" } ]

Expected behavior

Font rendering should probably look identical between these two renderers

Screenshots

No response

Versions and configuration

see options i used above for screenshots. Fonts are available on the internet, imagine this is also reproducable with the standard fonts

Additional context

No response

ZhilkinSerg commented 2 years ago

We hardly make any difference between renderers used in CDDA code. There are could be something wrong in SDL, SDL_ttf, freetype or DirectX, but this is beyond our control.

chrispikula commented 2 years ago

Do you have a high dpi monitor, with advanced scaling? Aka, try toggling the 'Let Windows try to fix apps so they're not blurry' advanced option? image

It's under display options when you right click the desktop.

DirectX has funky programming options when interacting with such.

Your other option is to try windowed borderless, vs fullscreen, as that prevents the monitor resolutions from changing, and the directX driver resetting improperly when alt-tabbing.

Sammmmm commented 2 years ago

I'll give it a try tonight, i recently switched from 1080 to 1440 and went to 125%, so that could very well be it. Windows borderless is what I use, after I realized it wasn't replicating in screenshots it did seem likely that it was related to windows cleartype stuff, but i figured there was an outside chance it was some renderer flag change or something that is different in dx11.

On Wed, Feb 9, 2022 at 2:03 AM chrispikula @.***> wrote:

Do you have a high dpi monitor, with advanced scaling? Aka, try toggling the 'Let Windows try to fix apps so they're not blurry' advanced option? [image: image] https://user-images.githubusercontent.com/22281606/153173512-b6faefbb-e494-408c-bacf-a0d49a42d20f.png

It's under display options when you right click the desktop.

DirectX has funky code options when interacting with such.

Your other option is to try windowed borderless, vs fullscreen, as that prevents the monitor resolutions from changing, and the directX driver resetting improperly when alt-tabbing.

— Reply to this email directly, view it on GitHub https://github.com/CleverRaven/Cataclysm-DDA/issues/55231#issuecomment-1033581533, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVD637SCNXMW5F5YXSRAU3U2I3V3ANCNFSM5N4K6NZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

Sammmmm commented 2 years ago

So adjusting that setting didn't change anything, but running through the 'adjust cleartype text' wizard for the monitor in question seems to have made a difference.